ember-cli addon for @material/dialog
.
ember install ember-cli-mdc-dialog
This package contains the following top-level components.
Adds a dialog to the document.
-
@title
- Optional title for the dialog. -
@open
- Open the dialog -
@positiveButton
- Positive button definition. No positive button if left off the table. -
@negativeButton
- Negative button definition. No negative button if left off the table.
-
action
- Name of action -
label
- Dialog button label -
default
- Make the default action -
focus
- Focus this button when opened -
opening
- Action triggered when dialog is opening -
opened
- Action triggered when dialog is opened -
closing
- Action triggered when dialog is closing -
closed
- Action triggered when dialog has closed