@ivanvanderbyl/ember-material-components-snackbar
ember-cli addon for @material/snackbar
.
Installation
ember install @ivanvanderbyl/ember-material-components-snackbar
Components and Mixins
Components
{{mdc-snackbar}}
Description
Display a snackbar on the page.
Usage
Attributes
-
message
- The message to display in the snackbar. Changing the message automatically shows the snackbar. -
timeout
- Optional timeout for the snackbar. -
actionHandler
- Callback invoked when the action is clicked. -
actionText
- The text to display for the action. -
multiline
- The snackbar is multiple lines. -
actionOnBottom
- Align the action to the bottom of a multi-line message. -
dismissesOnAction
Dismiss in the snackbar after the action is clicked.