API
Usage
Any time you want to send a toast you need to follow these rules:
Create it and set its content using
Toast.message
Pipe any number of Builders you want
Status
Position
Builder
Trigger
Last updated
Any time you want to send a toast you need to follow these rules:
Create it and set its content using Toast.message
Pipe any number of Builders you want
Last updated
Function
Description
Toast.message
Create a toast and set the message content
Toast.title
Set the title content
Toast.position
Set the position
Toast.addInput
Add an input to the toast
Toast.icon
Set the icon
Toast.timeout
Set the timeout in seconds
Toast.noTimeout
No timeout, make sure to add a close button or dismiss on click
Toast.dismissOnClick
Allow user to dismiss the toast by cliking on it
Toast.withCloseButton
Add a close button
Function
Description
Toast.success
Send the toast marked with Success status
Toast.warning
Send the toast marked with Warning status
Toast.error
Send the toast marked with Error status
Toast.info
Send the toast marked with Info status