Skip to content

Commit b364207

Browse files
committed
Add public exit method, related to usablica#67
1 parent e9fc909 commit b364207

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

intro.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,10 @@
529529
_introForElement.call(this, this._targetElement);
530530
return this;
531531
},
532+
exit: function() {
533+
_exitIntro.call(this, this._targetElement);
534+
return this;
535+
},
532536
oncomplete: function(providedCallback) {
533537
if (typeof (providedCallback) === "function") {
534538
this._introCompleteCallback = providedCallback;

0 commit comments

Comments
 (0)