Defines a Toast action component.
This component helps displaying some informations.
A Toast is a subtle notification commonly used in modern applications. It can be used to provide feedback about an operation or to display a system message. The toast appears on top of the applications content, and can be dismissed to resume user interaction with the application.
Toast action component can be added under an Event or another action.
For more information : Controller Toasts.
Name | Description | |
---|---|---|
Animated | If true, the toast will animate | |
Animation (enter) | Animation to use when the toast is presented. ((baseEl: any, opts?: any) => Animation). | |
Animation (leave) | Animation to use when the toast is dismissed. ((baseEl: any, opts?: any) => Animation). | |
Close button text | Text to display in the close button. | |
Color | Specifies ionic color. | |
Css classes | Additional classes for custom styles. Type: string | string[] |
Duration | Defines the toast’s duration in milliseconds. | |
Header | Defines the toast’s header. | |
Html Attributes | Additional attributes to pass to the toast. Type: { [key: string]: any } | |
Icon | The name of the icon to display, or the path to a valid SVG file. See ion-icon: https://ionic.io/ionicons | |
Id | The toast id. | |
Keyboard close | If true, the keyboard will be automatically dismissed when the overlay is presented | |
Message | Defines the toast’s message. | |
Mode | Specifies ionic mode. | |
Position | Defines the toast’s position. | |
Show close button | Whether or not to show a button to close the toast. | |
Translucent | If true, the toast will be translucent. Only applies when the mode is ‘ios’ and the device supports backdrop-filter. | |
Comment | Describes the object comment to include in the documentation report. This property generally contains an explanation about the object. | |
Is active | Defines whether the component is active. |