Helpers
toast(type, message)
This helper shows a <v-toast>
component.
API
type
- Either 'success', 'info' or 'error'message
- The message shown
redirect(url)
Can be used to redirect the current page to the specified url
.
API
url
- An absolute or relative URL
delay(function, delay)
Can be used to redirect the current page to the specified url
.
API
function
- The function that will be executeddelay
- The number of milliseconds to wait before executing the code. If omitted, the value 0 is used