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

    Loading delay not delaying

    Framework
    2
    3
    232
    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.
    • T
      Todo Digital last edited by Todo Digital

      Hi. Just wondering if I am doing something wrong,or if I am missing something that is not in the documentation. The delay property for the loading show method is not working at all.

      methods:{
          gotoHome(){
              this.$q.loading.show({ delay: 1000 })
              this.$q.loading.hide()
              this.$router.push({name:'Index'})
          }
      }
      

      It is supposed to delay/show the loading animation for 1000ms. What am I missing? Can’t find anything about this in the documentation or in the forum.

      1 Reply Last reply Reply Quote 0
      • rstoenescu
        rstoenescu Admin last edited by

        Hi, You’re immediately hiding it… so there’s no time for the delay to take place.

        T 1 Reply Last reply Reply Quote 0
        • T
          Todo Digital @rstoenescu last edited by

          @rstoenescu thank you for your reply. My bad. I didnt understand it well. Just thought the delay property would create a sort of timeout effect even when the hide method is called. Now I understand how it works. Regards.

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