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

    Toaster Component - onDismiss () cannot find other methods

    Framework
    1
    1
    779
    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.
    • J
      jondiscipulo last edited by

      I am new to Quasar and utilizing the Toaster component:

        Toast.create.negative({
          html: 'Sorry, no user with that PIN code!',
          timeout: 2000,
          button: {
            handler () {
              // Specify what to do when button is clicked/tapped
            }
          },
          vm: {
            // VueModel for the Toast
          },
          onDismiss () {
            this.reset()
          }
        })
      

      The function reset() is inside the methods object but onDismiss() seems unable to call it.

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