container?
type
HTMLElementoptional
layout?
type DialogLayout
optional
index?
index 0 is under 1 is under 2 etc -- the topmost dialog is the last in the array
type
numberoptional
active?
type
booleanoptional
content_selector?
If provided, prevents clicks that would close the dialog from bubbling past any elements matching this selector.
type
string | nulloptional
onclose?
type
() => voidoptional
children
type
Snippet<[close: (e?: Event) => void]>