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

    Toggle QSpinner Animation?

    Useful Tips (NEW)
    2
    3
    220
    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.
    • K
      Koleto last edited by

      Is is there a trick to start and stop q-spinner animation on click?

      dobbel 1 Reply Last reply Reply Quote 0
      • dobbel
        dobbel @Koleto last edited by

        @Koleto

        you’ll first have to at ‘clickable’ attribute to the spinner and then @click

        <q-spinner
               clickable
               @click="doSomething"
                color="primary"
                size="3em"
              />
        

        then you have to disable the spinner itself. Here are some examples:

        https://codepen.io/jjdewitt/pen/XJRqNK

        https://stackoverflow.com/questions/46672625/how-to-stop-an-svg-animation

        1 Reply Last reply Reply Quote 0
        • K
          Koleto last edited by

          Oh, Cool! Thank you very much!

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