According to the Vue.js API documentation using nextTick()
inside mounted()
will guarantee that the entire view has rendered, but I am not sure what they mean by "rendered" in this case.
I am trying to integrate the intro.js library intro Vue.js, but if I use put introJs().start()
inside of nextTick
like the following:
mounted: function () {
this.$nextTick(function () {
// Code that supposedly will run only after the
// entire view has been rendered
introJs().start()
})
}
it seems like the DOM is still not fully ready and introJs fails to show all intro steps successfully.
How can I know that everything is truly ready? Is there any other way to start introJs within Vue.js?