Skip to content
This repository has been archived by the owner on Jan 17, 2022. It is now read-only.

Commit

Permalink
Merge branch 'ryanrhodes-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
mendhak committed Jun 14, 2015
2 parents 8064224 + 3050a29 commit 09c157a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/angular-intro.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
scope: {
ngIntroMethod: "=",
ngIntroExitMethod: "=?",
ngIntroNextMethod: "=?",
ngIntroPreviousMethod: "=?",
ngIntroOptions: '=',
ngIntroOncomplete: '=',
ngIntroOnexit: '=',
Expand Down Expand Up @@ -98,6 +100,14 @@
}
};

scope.ngIntroNextMethod = function () {
intro.nextStep();
}

scope.ngIntroPreviousMethod = function () {
intro.previousStep();
}

scope.ngIntroExitMethod = function (callback) {
intro.exit();
callback();
Expand Down

0 comments on commit 09c157a

Please sign in to comment.