Data Models
Toast
Toast
Class Properties
Property | Type | Optional | Default Value | Description |
---|---|---|---|---|
id | Number | Yes | None | A unique identifier for the toast notification. |
message | String | No | None | The message content displayed in the toast notification. |
type | ‘success’ | ‘error’ | No | None | The type of toast notification, indicating success or error. |
duration | Number | Yes | 3000 | The length of time the toast notification is displayed, in milliseconds. |
Was this page helpful?