Skip to main content

Syntax

Parameters

  • Type: Success, Notification, Warning or Error
  • text (string): the message to display
  • duration (number, optional): time on screen in milliseconds. Leave it out for the default.

Returns

Nothing.

Examples