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.
2 parents 8064224 + 3050a29 commit 09c157aCopy full SHA for 09c157a
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 () {
104
+ intro.nextStep();
105
+ }
106
+
107
+ scope.ngIntroPreviousMethod = function () {
108
+ intro.previousStep();
109
110
111
scope.ngIntroExitMethod = function (callback) {
112
intro.exit();
113
callback();
0 commit comments