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

    How to close/clear previous Toast?

    Help
    4
    5
    1452
    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
      kayumanggi last edited by

      Scenario: I execute Negative Toast with timeout of 10 sec every time user submission fails(error response). But I want to clear it and any queued Toast so that I can show a Positive Toast immediately on success submission.

      Regards

      1 Reply Last reply Reply Quote 0
      • C
        chelop last edited by

        Any updates on this? Can we easily dismiss a toast programatically?

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

          Nope… but this might help http://quasar-framework.org/components/alert.html

          1 Reply Last reply Reply Quote 0
          • N
            Nicholas last edited by

            I’ve got the same use case.
            Alert won’t work because it doesn’t timeout.

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

              You can dismiss the alert programatically and set a timeout using setTimeout

              Quasar will have new components called notify and alert in v0.15, due out this month. These will give you more options

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