• Material
  • Fabric
  • Bootstrap
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Essential JS 2
HOME
All Controls

Button

This sample demonstrates all the API functionalities available in Toast.

DEMO
SOURCE

Show Animation

Hide Animation

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.