Comments (3)
Hi @nunob87,
As it is now it's not easily feasible indeed. We'll discuss internally if it's really necessary to simplify the handling of invisible/not displayed elements.
But for now if you want a quick solution, you should be able to declare the list of steps in a computed property so that when a field in your form is updated (displayed or hidden), you'll change the array of steps accordingly at the same time. This way the array of steps will always reflect the elements displayed.
But of course it's a little bit more work on your side.
I'm not sure if I've been clear... if not feel free to ask for more precisions!
from vue-tour.
this is what I did, but I have a bug, I need to know if the tour is active or not, without using any variables to detect this is possible?
example
this. $ tours ['help']. state
another thing is
When I renew the steps, I have to do this. $ tours ['help']. nextStep (), to continue on the site I was in, is there no other solution?
thank you
from vue-tour.
I'm closing this for inactivity and because the root cause has probably been solved with async callbacks in later versions.
For the last answer though, to know if the tour is running you can use the isRunning
computed property on the tour object.
this.$tours['help'].isRunning
from vue-tour.
Related Issues (20)
- Have problems when get started using v-tour HOT 3
- Prod package overall size deduction
- Arrow and popup position issue on language change
- Get some more contextual data on callbacks
- onFinish callback HOT 6
- Conditionally Stop HOT 1
- finish prop is missing in Customizing the Template inside Documentation
- Build fails in vue-tour (npm run build)
- Tour stops when targets aren't found HOT 2
- Memory leak when using VueTour in vue-test-utils [BUG]
- Vue 3 Compatibility HOT 5
- Is there a way to install locally rather than globally HOT 1
- Unable to point to elements in child components using vue 2 and quasar
- Disable interaction with any elements while tour is displayed HOT 3
- Stop the tour HOT 1
- After adding v-if to the component, the component will not be destroyed if the condition is false. HOT 2
- Install with Nuxt3 HOT 2
- Embed Image in tour HOT 1
- Can I pause a tour? HOT 1
- How to integrate with vite ? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-tour.