0.77.1-alpha.2 • Published 7 years ago
@ivanvanderbyl/ember-material-components-snackbar v0.77.1-alpha.2
@ivanvanderbyl/ember-material-components-snackbar
ember-cli addon for @material/snackbar.
Installation
ember install @ivanvanderbyl/ember-material-components-snackbarComponents and Mixins
Components
{{mdc-snackbar}}
Description
Display a snackbar on the page.
Usage
{{mdc-snackbar message=[string]
timeout=[number]
actionHandler=action
actionText=[string]
multiline=[true|false]
actionOnBottom=[true|false]
dismissesOnAction=[true|false]}}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.dismissesOnActionDismiss in the snackbar after the action is clicked.
0.77.1-alpha.2
7 years ago