TIL about showModal
from small things big things one day come
Slide 2
Slide 3
dialog
The dialog element represents a part of an application that a user interacts with to perform a task, for example a dialog box, inspector, or window.
Slide 4
Slide 5
inert
The inert attribute is a boolean attribute that indicates, by its presence, that the element and all its flat tree descendants which don’t otherwise escape inertness (such as modal dialogs) are to be made inert by the user agent.
Slide 6
Slide 7
show Modal
The showModal method displays the dialog element and makes it the top-most modal dialog.
Slide 8
Slide 9
TIL about showModal
from small things big things one day come