bootstrap-tour


How to remove state from bootstrap tour


I'm using bootstrap tour, and everything is working fine.
What i'd like to do now, is create a "dismiss for now" button, that should display the tour next time the page is loaded.
In the local storage, when the tour ends, it creates a key called "tour_end" and the value is "yes", so, what i'm trying to do, is to call this:
tour.removeState("tour_end")
so that hopefully, next time the page is loaded, the key is missing and the tour will show up.
Unfortunately, the previous doesn't work, and it returns with this error:
_this.tour.removeState is not a function
any suggestion why this is not working? or the best way to achieve the "dismiss for now" behave?
Thanks a lot
Edit -
I solved this adding localStorage.removeItem("tour_end"); and it seams to work as expected.

Related Links

Bootstrap multi page tour - start from current page/path in the tour
Multiple page bootstrap traversal is not possible
bootstrap tour tip is not working inside scrollable Div
trigger introJs With a button or link
How to remove state from bootstrap tour
Locate element in Bootstrap tour by Class Name, Css or Xpath

Categories

HOME
ms-access
sendgrid
wso2-am
listview
webpack
sd-card
spagobi
framework7
google-docs
microservices
packages
c#-2.0
dxl
fsm
opengl-es-2.0
podio
elasticsearch-hadoop
here-api
mapserver
qt-creator
nstableview
orchardcms
circuit
finite-automata
pythonanywhere
object-detection
riot.js
css-animations
telerik-reporting
emgucv
pepper
phpfox
greendao
neo4j-spatial
facebook-apps
kendo-datasource
objectanimator
quote
lightswitch-2013
tinymce-4
google-rich-snippets
copying
mozilla
mpmediaquery
revolution-slider
devextreme
dartium
xcode-extension
x11-forwarding
webix-treetable
user-controls
glew
firebase-admin
dotcover
prolog-setof
paxos
fancybox-2
lowpass-filter
android-cursor
r-forge
qtwebview
spring-mongodb
query-performance
crosswalk-runtime
or-tools
specrun
database-optimization
py2app
mathematica-frontend
goose
revolution-r
browser-link
r-tree
t4mvc
collapse
method-parameters
sankey-diagram
unity5.2.3
offloading
gadt
winddk
android-2.2-froyo
didselectrowatindexpath
quantlib-swig
xsockets.net
tidy
robotics-studio
wsdl-2.0
jquery-knob
bitsharp
gdata-api
objective-c-2.0
parametric-equations
bubble-chart
bigcouch
mod-auth
xdomainrequest
javax.script
w3wp.exe
thunderbird-lightning
compiler-specific
scripting-languages

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App