GlobalHive / vuejs-tour

VueJS Tour is a lightweight, simple and customizable tour plugin. It provides a quick and easy way to guide your users through your application.
https://globalhive.github.io/vuejs-tour/
MIT License
83 stars 7 forks source link

Tour stops when targets aren't found #9

Closed GlobalHive closed 1 year ago

GlobalHive commented 1 year ago

Original issue: lincoln017 - vue-tour#245

I have a five-step tour on a given page where step 3's target might not exist given the underlying data being displayed. Unfortunately, when this occurs, the tour stops and steps 4 and 5 are never executed.

Ideally, vue-tour would provide an option to automatically skip any step where the target isn't found. Alternatively, each step could offer a disabled property which we could set to TRUE prior to launching the tour and upon programmatically determining -- in this case -- target step 3 isn't available.

As it stands, I'll have to programmatically reset the steps each time the page is drawn depending on whether or not step 3 may exist. Is there an easier / better way?

Thanks.