Giter VIP home page Giter VIP logo

Comments (1)

alex-oleshkevich avatar alex-oleshkevich commented on July 19, 2024 1

v-intro-autostart.config works only when autostart: true. You have it disabled.

There are 2 options of starting intojs:
a). configure and start manually (just like you implemented it)
b). autostart the guide on page load (perhaps, what you have intended to have)

When you go with "a" you have to: define steps and hints via directives, then start the intro via this.$intro(configObject).start();. the configObject configures introjs.

When you use plan "b", then plan "a" does not work as at initialization is done asynchronously (some steps\hints may be delayed (eg. via router or loaded by ajax)) and not available at moment of introjs initialization. The plugin waits the page to complete the load and then starts the show internally.
In order to configure this particular instance of introjs the directrive v-intro-autostart.config was configured (it is also stated in it's name).

In order to fix your issues you can:
Either set autostart: true or pass desired config to this.$intro(config).start();

from vue-introjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.