Dialog components.
Classes
DialogElement
Extends SlottedElementBase.
new DialogElement():
DialogElement
Returns DialogElement. Inherited from SlottedElementBase.constructor.
| Property | Modifier | Type |
|---|---|---|
connected | public | boolean |
cssBorderBoxSizing | static | CSSResult |
cssHostDropping | static | CSSResult |
cssHostFlex | static | CSSResult |
defaultContent | public readonly | OptionalContent |
dialog | public readonly | HTMLDialogElement |
dialogOpened | public | boolean |
dialogOpening | public | boolean |
exportParts | public | undefined | string |
masher | public readonly | Masher |
masherOrNot | public | undefined | Masher |
parts | public | string |
partSeparator | static | string |
section | public | string |
signals | public readonly | SignalsRecord |
styles | static | CSSResult |
Methods
dialogClose():
void
Returns void.
dialogOpen():
void
Returns void.
handleClose():
void
Returns void.
handleDialog(
event):void
| Parameter | Type | Description |
|---|---|---|
event | Event |
Returns void.
partContent(
part,slots):OptionalContent
| Parameter | Type | Description |
|---|---|---|
part | string | |
slots | Element[] |
Returns OptionalContent. Inherited from SlottedElementBase.partContent.
refreshParts():
string
Returns string. Inherited from SlottedElementBase.refreshParts.
templateContent(
contents):TemplateContent
| Parameter | Type | Description |
|---|---|---|
contents | TemplateContents |
Returns TemplateContent. Inherited from SlottedElementBase.templateContent.
unsubscribe(
arg,name?,type?):void
| Parameter | Type | Description |
|---|---|---|
arg | string | PropertyObject | |
name? | string | |
type? | string |
Returns void. Inherited from SlottedElementBase.unsubscribe.
staticinstance(element):DialogElement
| Parameter | Type | Description |
|---|---|---|
element | undefined | DialogElement |
Returns DialogElement.
DialogEvent
Dispatch to close current dialog (no detail), or open with a supported section.Extends StringEvent.
new DialogEvent(
detail?):DialogEvent
| Parameter | Type |
|---|---|
detail? | string |
Returns DialogEvent. Overrides StringEvent.constructor.
| Property | Modifier | Type |
|---|---|---|
Type | static | "dialog" |
Variables
DialogTag
constDialogTag:"media-masher-dialog"