[SOLVED]Problems customizing q-carousel dots
-
I already asked this in the forum of the vuejs, but as it is a problem related to the quasar I will ask again, because I already have several days that I am trying without solution.
To avoid having to rewrite all the text, the problem is this here:
Perform action after loading all children
-
Note for any who come across this: problem solved on other forum, follow link in original post
-
Really, in a day seemed resolved, but only today I got the real solution.
It is a problem that is actually related to the vueJs.There is no method in vue that indicates when the rendering has been completed, so if there is no prop that allows you to access the component data like the dots in q-carousel you need to create a hack to watch these changes in the DOM.
NOTE: The nextTick nor Mounted ensures this state for you, what they do is add that in the nodejs process queue, but the actual application of this only happens afterwards.
In short the hack includes watchers and promises.
Follow the link:
https://forum.vuejs.org/t/how-to-watch-the-height-change-dom-of-an-element-in-vuejs/21290/8Related:
https://forum.vuejs.org/t/perform-action-after-loading-all-children/19689