Skip to content

Commit eecbc09

Browse files
author
jacobscarter
committed
added get current step title method
1 parent 99e6f7c commit eecbc09

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/wizard.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,10 @@ angular.module('mgo-angular-wizard').directive('wizard', function() {
191191

192192
//ALL METHODS ATTACHED TO this ARE ACCESSIBLE VIA WizardHandler.wizard().methodName()
193193

194+
this.currentStepTitle = function(){
195+
return $scope.selectedStep.title;
196+
};
197+
194198
//Access to current step number from outside
195199
this.currentStepNumber = function(){
196200
return $scope.currentStepNumber();

0 commit comments

Comments
 (0)