Last active
December 18, 2015 05:49
-
-
Save nmussy/5735806 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#torturial-example-delay').torturial([ | |
{ | |
steps: [ | |
{ | |
popovers: [ | |
{ | |
text: [ | |
"Wait a few seconds. ", | |
"Five, to be precise." | |
].join(''), | |
attachTo: $('#delay-button'), | |
attachPos: 'left' | |
} | |
], | |
delay: 5000 | |
} | |
] | |
}, { | |
steps: [ | |
{ | |
popovers: [ | |
{ | |
id: 'some-popover', | |
text: [ | |
"Here's another one, to show ", | |
"you what multiple views look like." | |
].join(''), | |
attachTo: $('#delay-button'), | |
attachPos: 'left' | |
}, | |
{ | |
text: [ | |
"By the way, you're going to have to ", | |
"press Escape, or click on the cross." | |
].join(''), | |
attachTo: $('#delay-button'), | |
attachPos: 'right' | |
} | |
] | |
} | |
] | |
} | |
], | |
{}).torturial('show'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment