We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8064224 commit 6d22e0fCopy full SHA for 6d22e0f
src/angular-intro.js
@@ -19,6 +19,8 @@
19
scope: {
20
ngIntroMethod: "=",
21
ngIntroExitMethod: "=?",
22
+ ngIntroNextMethod: "=?",
23
+ ngIntroPreviousMethod: "=?",
24
ngIntroOptions: '=',
25
ngIntroOncomplete: '=',
26
ngIntroOnexit: '=',
@@ -98,6 +100,14 @@
98
100
}
99
101
};
102
103
+ scope.ngIntroNextMethod = function (callback) {
104
+ intro.nextStep();
105
+ }
106
+
107
+ scope.ngIntroPreviousMethod = function (callback) {
108
+ intro.previousStep();
109
110
111
scope.ngIntroExitMethod = function (callback) {
112
intro.exit();
113
callback();
0 commit comments