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

Commit 87ad9d8

Browse files
author
mendhak
committed
ng-intro-exit-method added
1 parent 0c084a7 commit 87ad9d8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build/angular-intro.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/angular-intro.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ngIntroDirective.directive('ngIntroOptions', ['$timeout', function ($timeout) {
77
restrict: 'A',
88
scope: {
99
ngIntroMethod: "=",
10-
ngIntroExitMethod: "=",
10+
ngIntroExitMethod: "=?",
1111
ngIntroOptions: '=',
1212
ngIntroOncomplete: '=',
1313
ngIntroOnexit: '=',
@@ -90,7 +90,7 @@ ngIntroDirective.directive('ngIntroOptions', ['$timeout', function ($timeout) {
9090
scope.ngIntroExitMethod = function (callback) {
9191
intro.exit();
9292
callback();
93-
}
93+
};
9494

9595
if (scope.ngIntroAutostart()) {
9696
$timeout(function() {

0 commit comments

Comments
 (0)