Skip to content

Commit 9fded74

Browse files
author
scates
committed
Fixed wizard states... whoops
1 parent 8cf4135 commit 9fded74

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/wizard/wizard.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ angular.module('angularify.semantic.wizard', [])
3131
}, true);
3232

3333

34-
34+
3535

3636
this.addStep = function(step) {
3737
$scope.steps.push(step);
@@ -106,7 +106,12 @@ angular.module('angularify.semantic.wizard', [])
106106
replace: true,
107107
transclude: true,
108108
scope: {
109-
fullwidth: "@"
109+
fullwidth: "@",
110+
currentStep: '=',
111+
onFinish: '&',
112+
hideIndicators: '=',
113+
editMode: '=',
114+
name: '@'
110115
},
111116
controller: 'WizardController',
112117
template: '<div><div class="ui steps {{stepsLength}} small"><div class="ui step" ng-repeat="step in steps" ng-click="!step.completed || goTo(step)" ng-class="{disabled: !step.completed && !step.selected, active: step.selected && !step.completed, done: step.completed && !step.selected, editing: step.selected && step.completed}">{{step.title}}</div></div><div ng-transclude></div></div>',

0 commit comments

Comments
 (0)