The dialog widget provides a way to display content in an in-page popup.
Dialog overview
The dialog widget structure
- dialog: the dialog widget, specified as:
- element with
data-widget="dialog"
- element with
- close button: the close button, specified as:
- elements with
data-role="close" - auto-generated
- elements with
Options for the dialog widget
data-overlay: whether to show the dialog in an overlay (trueorfalse,falseby default)
Simple dialog
Modal dialog
Standard Popup Image
© 2016 EPFL