Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ The functions available in the `wizard()` are:
* **currentStep()**: This returns an Object which is the current step you are on.
* **totalStepCount()**: This returns an Number which is the total number of **enabled** steps.
* **getEnabledSteps()**: This returns an Array which is the **enabled** steps.
* **setHideIndicators()**: This sets if the indicators should be hidden.
* **getHideIndicators()**: This returns whether the indicators are hidden or not.
* **setEditMode(boolean)**: Set the edit mode of the wizard. Setting editMode to `true` will make ALL steps accessible, setting edit mode to `false` will make all steps with an index lower than the latest "completed" step accessible.

## Events
Expand Down
8 changes: 8 additions & 0 deletions dist/angular-wizard.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,14 @@ angular.module('mgo-angular-wizard').directive('wizard', function() {
return $scope.getEnabledSteps();
};

this.setHideIndicators = function(hide) {
$scope.hideIndicators = hide;
}

this.getIndicatorsHidden = function() {
return $scope.hideIndicators;
}

//Access to current step number from outside
this.currentStepNumber = function(){
return $scope.currentStepNumber();
Expand Down