No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    [SOLVED]Problems customizing q-carousel dots

    Help
    2
    3
    836
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      anonimo last edited by anonimo

      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

      1 Reply Last reply Reply Quote 0
      • benoitranque
        benoitranque last edited by

        Note for any who come across this: problem solved on other forum, follow link in original post

        1 Reply Last reply Reply Quote 0
        • A
          anonimo last edited by anonimo

          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/8

          Related:
          https://forum.vuejs.org/t/perform-action-after-loading-all-children/19689

          1 Reply Last reply Reply Quote 0
          • First post
            Last post