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

Commit 09c157a

Browse files
committed
Merge branch 'ryanrhodes-master'
2 parents 8064224 + 3050a29 commit 09c157a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/angular-intro.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
scope: {
2020
ngIntroMethod: "=",
2121
ngIntroExitMethod: "=?",
22+
ngIntroNextMethod: "=?",
23+
ngIntroPreviousMethod: "=?",
2224
ngIntroOptions: '=',
2325
ngIntroOncomplete: '=',
2426
ngIntroOnexit: '=',
@@ -98,6 +100,14 @@
98100
}
99101
};
100102

103+
scope.ngIntroNextMethod = function () {
104+
intro.nextStep();
105+
}
106+
107+
scope.ngIntroPreviousMethod = function () {
108+
intro.previousStep();
109+
}
110+
101111
scope.ngIntroExitMethod = function (callback) {
102112
intro.exit();
103113
callback();

0 commit comments

Comments
 (0)