Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas metus nulla, commodo a sodales sed, dignissim pretium nunc. Nam et lacus neque. Ut enim massa, sodales tempor convallis et, iaculis ac massa.
The Material Design Lite (MDL) dialog component allows for verification of user actions, simple data input, and alerts to provide extra information to users.
Note: Dialogs use the HTML <dialog> element, which currently has very limited cross-browser support. To ensure support across all modern browsers, please consider using a polyfill or creating your own. There is no polyfill included with MDL.
Smarty note: Desktop browsers may support this feature but mobile browsers do not! We recommend you bootstrap modals. In the future, all browsers may support <dialog> but for now, please, avoid using it.
MDL class | Effect | Remarks |
---|---|---|
mdl-dialog |
Defines the container of the dialog component. | Required on dialog container. |
MDL class | Effect | Remarks |
---|---|---|
mdl-dialog__title |
Defines the title container in the dialog. | Optional on title container. |
mdl-dialog__content |
Defines the content container of the dialog. | Required on content container. |
mdl-dialog__actions |
Defines the actions container in the dialog. | Required on action container. |
MDL class | Effect | Remarks |
---|---|---|
mdl-dialog__actions--full-width |
Modifies the actions to each take the full width of the container. This makes each take their own line. | Optional on action container. |