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 (true
orfalse
,false
by default)
Simple dialog
Toggle dialog
Modal dialog
Toggle dialog
Standard Popup Image
© 2016 EPFL