Dialog components.

Classes

DialogElement

Extends SlottedElementBase.

new DialogElement(): DialogElement

Returns DialogElement. Inherited from SlottedElementBase.constructor.

PropertyModifierType
connectedpublicboolean
cssBorderBoxSizingstaticCSSResult
cssHostDroppingstaticCSSResult
cssHostFlexstaticCSSResult
defaultContentpublic readonlyOptionalContent
dialogpublic readonlyHTMLDialogElement
dialogOpenedpublicboolean
dialogOpeningpublicboolean
exportPartspublicundefined | string
masherpublic readonlyMasher
masherOrNotpublicundefined | Masher
partspublicstring
partSeparatorstaticstring
sectionpublicstring
signalspublic readonlySignalsRecord
stylesstaticCSSResult

Methods

dialogClose(): void

Returns void.

dialogOpen(): void

Returns void.

handleClose(): void

Returns void.

handleDialog(event): void

ParameterTypeDescription
eventEvent

Returns void.

partContent(part, slots): OptionalContent

ParameterTypeDescription
partstring
slotsElement[]

Returns OptionalContent. Inherited from SlottedElementBase.partContent.

refreshParts(): string

Returns string. Inherited from SlottedElementBase.refreshParts.

templateContent(contents): TemplateContent

ParameterTypeDescription
contentsTemplateContents

Returns TemplateContent. Inherited from SlottedElementBase.templateContent.

unsubscribe(arg, name?, type?): void

ParameterTypeDescription
argstring | PropertyObject
name?string
type?string

Returns void. Inherited from SlottedElementBase.unsubscribe.

static instance(element): DialogElement

ParameterTypeDescription
elementundefined | DialogElement

Returns DialogElement.

DialogEvent

Dispatch to close current dialog (no detail), or open with a supported section.

Extends StringEvent.

new DialogEvent(detail?): DialogEvent

ParameterType
detail?string

Returns DialogEvent. Overrides StringEvent.constructor.

PropertyModifierType
Typestatic"dialog"

Variables

DialogTag

const DialogTag: "media-masher-dialog"