Button and Link components.

Classes

ClickedButtonElement

Extends ClickedButtonElement_base. Extended by ClickedProgressElement.

new ClickedButtonElement(): ClickedButtonElement

Returns ClickedButtonElement. Inherited from ClickedButtonElement_base.constructor.

PropertyModifierType
connectedpublicboolean
cssBorderBoxSizingstaticCSSResult
cssHostDroppingstaticCSSResult
cssHostFlexstaticCSSResult
defaultContentpublic readonlyOptionalContent
detailpublicstring
disabledpublicboolean
disabledIfpublicundefined | string
emitpublicstring
evaluated?publicboolean
evaluation?publicstring
exportPartspublicundefined | string
iconpublicstring
iconElementpublicOptionalContent
masherpublic readonlyMasher
masherOrNotpublicundefined | Masher
partspublicstring
partSeparatorstaticstring
scalarpublicScalar
signalspublic readonlySignalsRecord
stringpublicstring
stringElementpublicOptionalContent
stylesstaticCSSResult

Methods

partContent(part, slots): OptionalContent

ParameterTypeDescription
partstring
slotsElement[]

Returns OptionalContent. Inherited from ClickedButtonElement_base.partContent.

refreshParts(): string

Returns string. Inherited from ClickedButtonElement_base.refreshParts.

templateContent(contents): TemplateContent

ParameterTypeDescription
contentsTemplateContents

Returns TemplateContent. Inherited from ClickedButtonElement_base.templateContent.

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

ParameterTypeDescription
argstring | PropertyObject
name?string
type?string

Returns void. Inherited from ClickedButtonElement_base.unsubscribe.

willUpdate(values): void

ParameterTypeDescription
valuesPropertyValueMap<ClickedButtonElement>

Returns void. Overrides ClickedButtonElement_base.willUpdate.

ClickedLinkElement

Extends ClickedElementBase.

new ClickedLinkElement(): ClickedLinkElement

Returns ClickedLinkElement. Inherited from ClickedElementBase.constructor.

PropertyModifierType
connectedpublicboolean
cssBorderBoxSizingstaticCSSResult
cssHostDroppingstaticCSSResult
cssHostFlexstaticCSSResult
defaultContentpublic readonlyOptionalContent
detailpublicstring
emitpublicstring
exportPartspublicundefined | string
iconpublicstring
iconElementpublicOptionalContent
masherpublic readonlyMasher
masherOrNotpublicundefined | Masher
partspublicstring
partSeparatorstaticstring
scalarpublicScalar
signalspublic readonlySignalsRecord
stringpublicstring
stringElementpublicOptionalContent
stylesstaticCSSResult

Methods

handleSignal(signal): void

ParameterTypeDescription
signalSignal

Returns void.

partContent(part, slots): OptionalContent

ParameterTypeDescription
partstring
slotsElement[]

Returns OptionalContent. Inherited from ClickedElementBase.partContent.

refreshParts(): string

Returns string. Inherited from ClickedElementBase.refreshParts.

templateContent(contents): TemplateContent

ParameterTypeDescription
contentsTemplateContents

Returns TemplateContent. Inherited from ClickedElementBase.templateContent.

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

ParameterTypeDescription
argstring | PropertyObject
name?string
type?string

Returns void. Inherited from ClickedElementBase.unsubscribe.

willUpdate(values): void

ParameterTypeDescription
valuesPropertyValueMap<ClickedLinkElement>

Returns void. Overrides ClickedElementBase.willUpdate.

ClickedProgressElement

Extends ClickedButtonElement.

new ClickedProgressElement(): ClickedProgressElement

Returns ClickedProgressElement. Inherited from ClickedButtonElement.constructor.

PropertyModifierType
connectedpublicboolean
cssBorderBoxSizingstaticCSSResult
cssHostDroppingstaticCSSResult
cssHostFlexstaticCSSResult
defaultContentpublic readonlyOptionalContent
detailpublicstring
disabledpublicboolean
disabledIfpublicundefined | string
emitpublicstring
evaluated?publicboolean
evaluation?publicstring
exportPartspublicundefined | string
iconpublicstring
iconElementpublicOptionalContent
masherpublic readonlyMasher
masherOrNotpublicundefined | Masher
needsProgresspublicboolean
partspublicstring
partSeparatorstaticstring
progressInsertingpublicundefined | string
progressSizingpublicundefined | string
scalarpublicScalar
signalspublic readonlySignalsRecord
stringpublicstring
stringElementpublicOptionalContent
stylesstaticCSSResult

Methods

partContent(part, slots): OptionalContent

ParameterTypeDescription
partstring
slotsElement[]

Returns OptionalContent. Inherited from ClickedButtonElement.partContent.

refreshParts(): string

Returns string. Inherited from ClickedButtonElement.refreshParts.

templateContent(contents): TemplateContent

ParameterTypeDescription
contentsTemplateContents

Returns TemplateContent. Inherited from ClickedButtonElement.templateContent.

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

ParameterTypeDescription
argstring | PropertyObject
name?string
type?string

Returns void. Inherited from ClickedButtonElement.unsubscribe.

willUpdate(values): void

ParameterTypeDescription
valuesPropertyValueMap<ClickedProgressElement>

Returns void. Overrides ClickedButtonElement.willUpdate.

ControlStringElement

Extends ControlStringElement_base.

new ControlStringElement(): ControlStringElement

Returns ControlStringElement. Inherited from ControlStringElement_base.constructor.

PropertyModifierType
connectedpublicboolean
cssBorderBoxSizingstaticCSSResult
cssHostDroppingstaticCSSResult
cssHostFlexstaticCSSResult
defaultContentpublic readonlyOptionalContent
fallback?publicScalar
frame?publicnumber
icon?publicstring
input?publicElement
inputInitializepublic readonlyundefined | Element
inputSelectpublicHTMLSelectElement
masherpublic readonlyMasher
masherOrNotpublicundefined | Masher
max?publicnumber
min?publicnumber
namepublicstring
options?publicScalarRecord | Scalar[]
order?publicnumber
scalar?publicScalar
scalarFromInput?publicScalar
signalspublic readonlySignalsRecord
step?publicnumber
stylesstaticCSSResult
targetpublicstring
tweens?publicboolean
typepublicstring
undoable?publicboolean

Methods

scalarFromOptions(index): undefined | Scalar

ParameterType
indexnumber

Returns undefined | Scalar. Inherited from ControlStringElement_base.scalarFromOptions.

setInputValue(value?): boolean

ParameterType
value?Scalar

Returns boolean. Inherited from ControlStringElement_base.setInputValue.

templateContent(contents): TemplateContent

ParameterTypeDescription
contentsTemplateContents

Returns TemplateContent. Inherited from ControlStringElement_base.templateContent.

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

ParameterTypeDescription
argstring | PropertyObject
name?string
type?string

Returns void. Inherited from ControlStringElement_base.unsubscribe.

static instance(element, args, …ids): ControlStringElement

ParameterTypeDescription
elementundefined | ControlStringElement
argsInspectorElementArgs
idsstring[]

Returns ControlStringElement.

IconElement

Extends IconElement_base.

new IconElement(): IconElement

Returns IconElement. Inherited from IconElement_base.constructor.

PropertyModifierType
connectedpublicboolean
cssBorderBoxSizingstaticCSSResult
cssHostDroppingstaticCSSResult
cssHostFlexstaticCSSResult
defaultContentpublic readonlyOptionalContent
evaluated?publicboolean
evaluation?publicstring
iconpublicstring
iconContentpublicTemplateContent
masherpublic readonlyMasher
masherOrNotpublicundefined | Masher
signalspublic readonlySignalsRecord
stylesstaticCSSResult

Methods

templateContent(contents): TemplateContent

ParameterTypeDescription
contentsTemplateContents

Returns TemplateContent. Inherited from IconElement_base.templateContent.

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

ParameterTypeDescription
argstring | PropertyObject
name?string
type?string

Returns void. Inherited from IconElement_base.unsubscribe.

willUpdate(values): void

ParameterTypeDescription
valuesPropertyValueMap<IconElement>

Returns void. Overrides IconElement_base.willUpdate.

StringElement

Extends ElementBase.

new StringElement(): StringElement

Returns StringElement. Inherited from ElementBase.constructor.

PropertyModifierType
_stringPromisepublicundefined | Promise<string | void>
connectedpublicboolean
cssBorderBoxSizingstaticCSSResult
cssHostDroppingstaticCSSResult
cssHostFlexstaticCSSResult
defaultContentpublic readonlyOptionalContent
masherpublic readonlyMasher
masherOrNotpublicundefined | Masher
signalspublic readonlySignalsRecord
stringpublicstring
stylesstaticCSSResult

Methods

templateContent(contents): TemplateContent

ParameterTypeDescription
contentsTemplateContents

Returns TemplateContent. Inherited from ElementBase.templateContent.

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

ParameterTypeDescription
argstring | PropertyObject
name?string
type?string

Returns void. Inherited from ElementBase.unsubscribe.

willUpdate(changedProperties): void

ParameterTypeDescription
changedPropertiesPropertyValueMap<StringElement>

Returns void. Overrides ElementBase.willUpdate.

Variables

ClickedButtonTag

const ClickedButtonTag: "media-masher-clicked-button"

Const

ClickedLinkTag

const ClickedLinkTag: "media-masher-clicked-link"

ClickedProgressTag

const ClickedProgressTag: "media-masher-clicked-progress"

Functions

assetIconElementPlug

assetIconElementPlug(element, args): Promise<DataOrError<Element>>

ParameterType
elementundefined | Element
argsAssetIconOptions

Returns Promise<DataOrError<Element>>.

svgStringElement

svgStringElement(svgString): Element | undefined

ParameterType
svgStringstring

Returns Element | undefined.

timelineIconElementPlug

timelineIconElementPlug(element, args): Promise<DataOrError<Element>>

ParameterType
elementundefined | TimelineIconElement
argsTimelineIconElementArgs

Returns Promise<DataOrError<Element>>.