Skip to content

Commit 4abcd02

Browse files
committed
Merge pull request usablica#192 from ximi/public-step-methods
Make nextStep and previousStep functions publicly accessible
2 parents 49abc26 + 55346c6 commit 4abcd02

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

intro.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -878,6 +878,14 @@
878878
_goToStep.call(this, step);
879879
return this;
880880
},
881+
nextStep: function() {
882+
_nextStep.call(this);
883+
return this;
884+
},
885+
previousStep: function() {
886+
_previousStep.call(this);
887+
return this;
888+
},
881889
exit: function() {
882890
_exitIntro.call(this, this._targetElement);
883891
},

0 commit comments

Comments
 (0)