Snackbars
Snackbars provide lightweight feedback about an operation by showing a brief message at the bottom of the screen. Snackbars can contain an action.
Examples
Toggle snackbars by clicking the links below.
.snackbar({
alive: 6000,
content: ...,
hide: ...,
show: ...
});
Options
| Option | Description |
|---|---|
| alive | Time in milliseconds snackbar will be displayed without user interaction. Default is 6000. |
| content | Snackbar message. |
| hide (optional) | Fires after the hide method is called by the snackbar. |
| show (optional) | Fires after the show method is called by the snackbar. |