This sample demonstrates all the API functionalities available in Toast
.
In this sample, with help of text inputs toast
header title
and content
text can be provided.
Action Buttons
– Provide support to add a button inside toast to interact with it.
Prevent Duplicates
– Disable the user to create same toast message multiple times.
TimeOut
– Allows to set time in millisecond to close toast
Progress Bar
– Visualizes the time out of toast as an indicator
Animation
– Enables to define the toast show and hide animation
Close button
– Show close button to hide toast irrespective of time out.
More information about Toast can be found in this documentation section.