# Helpers
# toast(type, message)
This helper shows a <v-toast>
component.
# API
type
- Either 'success', 'info' or 'error'message
- The message showndismissible
- Whether or not a click can dismiss the toast
# redirect(url, delay = 0)
Can be used to redirect the current page to the specified url
.
# API
url
- An absolute or relative URLdelay
- Redirect delay in milliseconds
# log(message)
Writes a message to the console similar to console.log()
. The console is useful for testing purposes.
# API
message
- The message or object to write in the console