Toaster Component - onDismiss () cannot find other methods



  • 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.


Log in to reply
 

Looks like your connection to Quasar Framework was lost, please wait while we try to reconnect.