To open a dialog, call the explosed method open on the dialog reference.
The method optionally accepts a query selector, which will be used to set inert=true on given element (if found in the DOM).
The dialog element will be teleported to the body element.
Props
Name
Type
title
string
Dialog title
dismissable
boolean
If set to true, the dialog can be closed by clicking outside or by pressing
Esacpe. Otherwise, the dialog can to be closed explicitly.