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.