Skip to content

Commit bdaa703

Browse files
author
mendhak
committed
Example with more step options
1 parent 744933a commit bdaa703

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

example/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
<div class="masthead">
2929
<ul id="step5" class="nav nav-pills pull-right">
30-
<li><a href="https://github.com/mendhak/angular-intro.js/blob/master/angular-intro.js"><i class='icon-black icon-download-alt'></i> Download</a></li>
30+
<li><a href="https://github.com/mendhak/angular-intro.js/tree/master/build"><i class='icon-black icon-download-alt'></i> Download</a></li>
3131
<li><a href="https://github.com/mendhak/angular-intro.js">Github</a></li>
3232
</ul>
3333
<h3 class="muted">Angular-Intro.js</h3>

lib/app.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,14 @@ app.controller('MyController', function ($scope) {
3535
element: '#step5',
3636
intro: 'Get it, use it.'
3737
}
38-
]
38+
],
39+
showStepNumbers: false,
40+
exitOnOverlayClick: true,
41+
exitOnEsc:true,
42+
nextLabel: '<strong>NEXT!</strong>',
43+
prevLabel: '<span style="color:green">Previous</span>',
44+
skipLabel: 'Exit',
45+
doneLabel: 'Thanks'
3946
};
4047

4148
});

0 commit comments

Comments
 (0)