@ivanvanderbyl/ember-material-components-dialog

0.77.1-alpha.2 • Public • Published

@ivanvanderbyl/ember-material-components-dialog

ember-cli addon for @material/dialog.

Installation

ember install @ivanvanderbyl/ember-material-components-dialog

Components

This package contains the following top-level components.

mdc-dialog

Description

Adds a dialog to the document.

Usage

{{#mdc-dialog title="Use Google's location service?"
              accept=(action "accept")
              acceptButtonText="Accept"
              close=(action "close")
              closeButtonText="Decline"
              default=["accept"|"close"]
              show=[true|false]
              scrollable=[true|false]}}
  Let Google help apps determine location. This means sending anonymous
  location data to Google, even when no apps are running.
{{/mdc-dialog}}

Attributes

  • title - Optional title for the dialog.
  • accept - Action called with the accept button is pressed.
  • acceptButtonText - Text for the accept button.
  • close - Action called with the close button is pressed.
  • closeButtonText - Text for the close button.
  • default - Which button is the default button.
  • show - Show the dialog.
  • scrollable - Optional mark the dialog content as scrollable.

Package Sidebar

Install

npm i @ivanvanderbyl/ember-material-components-dialog

Weekly Downloads

1

Version

0.77.1-alpha.2

License

Apache-2.0

Unpacked Size

78.9 kB

Total Files

16

Last publish

Collaborators

  • ivanvanderbyl