Closed alexandernst closed 3 years ago
I'm using local storage at the moment - show_intro()
is called on page load.
function show_intro() {
if localStorage.getItem('intro_shown') {
// already shown
return
}
localStorage.setItem('intro_shown', true)
intro = introJs()
intro.setOptions([ ... ])
intro.start()
}
Can you verify this @afshinm @bozdoz ?
Fan of localStorage, not of cookies. I kind of think this is an implementation detail, and not something that should be built into the library.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
It would be useful if Introjs could run only once (based on cookies).