pulsardev/vue-tour

Get some more contextual data on callbacks

mkgn opened this issue · 0 comments

mkgn commented

I use multiple instances of v-tour in my application at different locations such as;

 <v-tour name="feature1" :steps="steps" :options="tourOptions" :callbacks="tourCallbacks"></v-tour>
<v-tour name="feature2" :steps="steps" :options="tourOptions" :callbacks="tourCallbacks"></v-tour>

All are using the samecallback functions. It would be great if the callbacks gets some context data apart from the current step. For example, if I can get which tour is being executed (feature1 / feature2) it would be very helpful.

Is it possible currently?