ember-cli-mdc-dialog
v3.0.17
Published
ember-cli addon for @material/dialog
Downloads
415
Maintainers
Readme
ember-cli-mdc-dialog
ember-cli addon for @material/dialog
.
Installation
ember install ember-cli-mdc-dialog
Components
This package contains the following top-level components.
MdcDialog
Description
Adds a dialog to the document.
Usage
<MdcDialog @title="Use Google's location service?"
@open=[true|false]
@positiveButton=(hash action="accept" label="Accept" default=[true|false] focus=[true|false] closed=this.accept closing=this.accepting)
@negativeButton=(hash action="close" label="Decline" default=[true|false] focus=[true|false] closed=this.close closing=this.closing)>
Let Google help apps determine location. This means sending anonymous
location data to Google, even when no apps are running.
</MdcDialog>
Attributes
@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.
Button attributes
action
- Name of actionlabel
- Dialog button labeldefault
- Make the default actionfocus
- Focus this button when openedopening
- Action triggered when dialog is openingopened
- Action triggered when dialog is openedclosing
- Action triggered when dialog is closingclosed
- Action triggered when dialog has closed