alex-oleshkevich / vue-introjs

intro.js bindings for Vue.
MIT License
301 stars 53 forks source link

Deprecated: please use require("intro.js") directly, instead of the introJs method of the function #26

Closed phongpt156 closed 4 years ago

phongpt156 commented 6 years ago

I'm using intro.js version 2.9.3. I got this error when call this.$intro().start(). But version 2.8 work well.

sharpFD commented 6 years ago

as well as me

Situma commented 6 years ago

I also have the same issue. @zedsimple @wuyungen1996 did you manage to get a solution?

alex-oleshkevich commented 6 years ago

@zedsimple @Situma @wuyungen1996 what kind of issue do you have? can you post a trace? There are no errors when I use example pages (included with this repo).

usablica/intro.js#874

JohnRSim commented 6 years ago

@alex-oleshkevich examples are using v2.7 or intro.js - the issue can be replicated on introjs > 2.8 Also things like setting config options-

this.$intro(config).start(); 

No longer work.

The following works -

            self.$intro().setOptions({
                helperElementPadding: 0,
                showStepNumbers: false,
                tooltipClass: 'jseaTooltipInfo',
                highlightClass: 'jseaTooltipHelper',
                disableInteraction: true,
            }).start();