Button and Link components.
Classes
ClickedButtonElement
Extends ClickedButtonElement_base. Extended by ClickedProgressElement.
new ClickedButtonElement():
ClickedButtonElement
Returns ClickedButtonElement. Inherited from ClickedButtonElement_base.constructor.
| Property | Modifier | Type |
|---|---|---|
connected | public | boolean |
cssBorderBoxSizing | static | CSSResult |
cssHostDropping | static | CSSResult |
cssHostFlex | static | CSSResult |
defaultContent | public readonly | OptionalContent |
detail | public | string |
disabled | public | boolean |
disabledIf | public | undefined | string |
emit | public | string |
evaluated? | public | boolean |
evaluation? | public | string |
exportParts | public | undefined | string |
icon | public | string |
iconElement | public | OptionalContent |
masher | public readonly | Masher |
masherOrNot | public | undefined | Masher |
parts | public | string |
partSeparator | static | string |
scalar | public | Scalar |
signals | public readonly | SignalsRecord |
string | public | string |
stringElement | public | OptionalContent |
styles | static | CSSResult |
Methods
partContent(
part,slots):OptionalContent
| Parameter | Type | Description |
|---|---|---|
part | string | |
slots | Element[] |
Returns OptionalContent. Inherited from ClickedButtonElement_base.partContent.
refreshParts():
string
Returns string. Inherited from ClickedButtonElement_base.refreshParts.
templateContent(
contents):TemplateContent
| Parameter | Type | Description |
|---|---|---|
contents | TemplateContents |
Returns TemplateContent. Inherited from ClickedButtonElement_base.templateContent.
unsubscribe(
arg,name?,type?):void
| Parameter | Type | Description |
|---|---|---|
arg | string | PropertyObject | |
name? | string | |
type? | string |
Returns void. Inherited from ClickedButtonElement_base.unsubscribe.
willUpdate(
values):void
| Parameter | Type | Description |
|---|---|---|
values | PropertyValueMap<ClickedButtonElement> |
Returns void. Overrides ClickedButtonElement_base.willUpdate.
ClickedLinkElement
Extends ClickedElementBase.
new ClickedLinkElement():
ClickedLinkElement
Returns ClickedLinkElement. Inherited from ClickedElementBase.constructor.
| Property | Modifier | Type |
|---|---|---|
connected | public | boolean |
cssBorderBoxSizing | static | CSSResult |
cssHostDropping | static | CSSResult |
cssHostFlex | static | CSSResult |
defaultContent | public readonly | OptionalContent |
detail | public | string |
emit | public | string |
exportParts | public | undefined | string |
icon | public | string |
iconElement | public | OptionalContent |
masher | public readonly | Masher |
masherOrNot | public | undefined | Masher |
parts | public | string |
partSeparator | static | string |
scalar | public | Scalar |
signals | public readonly | SignalsRecord |
string | public | string |
stringElement | public | OptionalContent |
styles | static | CSSResult |
Methods
handleSignal(
signal):void
| Parameter | Type | Description |
|---|---|---|
signal | Signal |
Returns void.
partContent(
part,slots):OptionalContent
| Parameter | Type | Description |
|---|---|---|
part | string | |
slots | Element[] |
Returns OptionalContent. Inherited from ClickedElementBase.partContent.
refreshParts():
string
Returns string. Inherited from ClickedElementBase.refreshParts.
templateContent(
contents):TemplateContent
| Parameter | Type | Description |
|---|---|---|
contents | TemplateContents |
Returns TemplateContent. Inherited from ClickedElementBase.templateContent.
unsubscribe(
arg,name?,type?):void
| Parameter | Type | Description |
|---|---|---|
arg | string | PropertyObject | |
name? | string | |
type? | string |
Returns void. Inherited from ClickedElementBase.unsubscribe.
willUpdate(
values):void
| Parameter | Type | Description |
|---|---|---|
values | PropertyValueMap<ClickedLinkElement> |
Returns void. Overrides ClickedElementBase.willUpdate.
ClickedProgressElement
Extends ClickedButtonElement.
new ClickedProgressElement():
ClickedProgressElement
Returns ClickedProgressElement. Inherited from ClickedButtonElement.constructor.
| Property | Modifier | Type |
|---|---|---|
connected | public | boolean |
cssBorderBoxSizing | static | CSSResult |
cssHostDropping | static | CSSResult |
cssHostFlex | static | CSSResult |
defaultContent | public readonly | OptionalContent |
detail | public | string |
disabled | public | boolean |
disabledIf | public | undefined | string |
emit | public | string |
evaluated? | public | boolean |
evaluation? | public | string |
exportParts | public | undefined | string |
icon | public | string |
iconElement | public | OptionalContent |
masher | public readonly | Masher |
masherOrNot | public | undefined | Masher |
needsProgress | public | boolean |
parts | public | string |
partSeparator | static | string |
progressInserting | public | undefined | string |
progressSizing | public | undefined | string |
scalar | public | Scalar |
signals | public readonly | SignalsRecord |
string | public | string |
stringElement | public | OptionalContent |
styles | static | CSSResult |
Methods
partContent(
part,slots):OptionalContent
| Parameter | Type | Description |
|---|---|---|
part | string | |
slots | Element[] |
Returns OptionalContent. Inherited from ClickedButtonElement.partContent.
refreshParts():
string
Returns string. Inherited from ClickedButtonElement.refreshParts.
templateContent(
contents):TemplateContent
| Parameter | Type | Description |
|---|---|---|
contents | TemplateContents |
Returns TemplateContent. Inherited from ClickedButtonElement.templateContent.
unsubscribe(
arg,name?,type?):void
| Parameter | Type | Description |
|---|---|---|
arg | string | PropertyObject | |
name? | string | |
type? | string |
Returns void. Inherited from ClickedButtonElement.unsubscribe.
willUpdate(
values):void
| Parameter | Type | Description |
|---|---|---|
values | PropertyValueMap<ClickedProgressElement> |
Returns void. Overrides ClickedButtonElement.willUpdate.
ControlStringElement
Extends ControlStringElement_base.
new ControlStringElement():
ControlStringElement
Returns ControlStringElement. Inherited from ControlStringElement_base.constructor.
| Property | Modifier | Type |
|---|---|---|
connected | public | boolean |
cssBorderBoxSizing | static | CSSResult |
cssHostDropping | static | CSSResult |
cssHostFlex | static | CSSResult |
defaultContent | public readonly | OptionalContent |
fallback? | public | Scalar |
frame? | public | number |
icon? | public | string |
input? | public | Element |
inputInitialize | public readonly | undefined | Element |
inputSelect | public | HTMLSelectElement |
masher | public readonly | Masher |
masherOrNot | public | undefined | Masher |
max? | public | number |
min? | public | number |
name | public | string |
options? | public | ScalarRecord | Scalar[] |
order? | public | number |
scalar? | public | Scalar |
scalarFromInput? | public | Scalar |
signals | public readonly | SignalsRecord |
step? | public | number |
styles | static | CSSResult |
target | public | string |
tweens? | public | boolean |
type | public | string |
undoable? | public | boolean |
Methods
scalarFromOptions(
index):undefined|Scalar
| Parameter | Type |
|---|---|
index | number |
Returns undefined | Scalar. Inherited from ControlStringElement_base.scalarFromOptions.
setInputValue(
value?):boolean
| Parameter | Type |
|---|---|
value? | Scalar |
Returns boolean. Inherited from ControlStringElement_base.setInputValue.
templateContent(
contents):TemplateContent
| Parameter | Type | Description |
|---|---|---|
contents | TemplateContents |
Returns TemplateContent. Inherited from ControlStringElement_base.templateContent.
unsubscribe(
arg,name?,type?):void
| Parameter | Type | Description |
|---|---|---|
arg | string | PropertyObject | |
name? | string | |
type? | string |
Returns void. Inherited from ControlStringElement_base.unsubscribe.
staticinstance(element,args, …ids):ControlStringElement
| Parameter | Type | Description |
|---|---|---|
element | undefined | ControlStringElement | |
args | InspectorElementArgs | |
…ids | string[] |
Returns ControlStringElement.
IconElement
Extends IconElement_base.
new IconElement():
IconElement
Returns IconElement. Inherited from IconElement_base.constructor.
| Property | Modifier | Type |
|---|---|---|
connected | public | boolean |
cssBorderBoxSizing | static | CSSResult |
cssHostDropping | static | CSSResult |
cssHostFlex | static | CSSResult |
defaultContent | public readonly | OptionalContent |
evaluated? | public | boolean |
evaluation? | public | string |
icon | public | string |
iconContent | public | TemplateContent |
masher | public readonly | Masher |
masherOrNot | public | undefined | Masher |
signals | public readonly | SignalsRecord |
styles | static | CSSResult |
Methods
templateContent(
contents):TemplateContent
| Parameter | Type | Description |
|---|---|---|
contents | TemplateContents |
Returns TemplateContent. Inherited from IconElement_base.templateContent.
unsubscribe(
arg,name?,type?):void
| Parameter | Type | Description |
|---|---|---|
arg | string | PropertyObject | |
name? | string | |
type? | string |
Returns void. Inherited from IconElement_base.unsubscribe.
willUpdate(
values):void
| Parameter | Type | Description |
|---|---|---|
values | PropertyValueMap<IconElement> |
Returns void. Overrides IconElement_base.willUpdate.
StringElement
Extends ElementBase.
new StringElement():
StringElement
Returns StringElement. Inherited from ElementBase.constructor.
| Property | Modifier | Type |
|---|---|---|
_stringPromise | public | undefined | Promise<string | void> |
connected | public | boolean |
cssBorderBoxSizing | static | CSSResult |
cssHostDropping | static | CSSResult |
cssHostFlex | static | CSSResult |
defaultContent | public readonly | OptionalContent |
masher | public readonly | Masher |
masherOrNot | public | undefined | Masher |
signals | public readonly | SignalsRecord |
string | public | string |
styles | static | CSSResult |
Methods
templateContent(
contents):TemplateContent
| Parameter | Type | Description |
|---|---|---|
contents | TemplateContents |
Returns TemplateContent. Inherited from ElementBase.templateContent.
unsubscribe(
arg,name?,type?):void
| Parameter | Type | Description |
|---|---|---|
arg | string | PropertyObject | |
name? | string | |
type? | string |
Returns void. Inherited from ElementBase.unsubscribe.
willUpdate(
changedProperties):void
| Parameter | Type | Description |
|---|---|---|
changedProperties | PropertyValueMap<StringElement> |
Returns void. Overrides ElementBase.willUpdate.
Variables
ClickedButtonTag
constClickedButtonTag:"media-masher-clicked-button"
Const
ClickedLinkTag
constClickedLinkTag:"media-masher-clicked-link"
ClickedProgressTag
constClickedProgressTag:"media-masher-clicked-progress"
Functions
assetIconElementPlug
assetIconElementPlug(
element,args):Promise<DataOrError<Element>>
| Parameter | Type |
|---|---|
element | undefined | Element |
args | AssetIconOptions |
Returns Promise<DataOrError<Element>>.
svgStringElement
svgStringElement(
svgString):Element|undefined
| Parameter | Type |
|---|---|
svgString | string |
Returns Element | undefined.
timelineIconElementPlug
timelineIconElementPlug(
element,args):Promise<DataOrError<Element>>
| Parameter | Type |
|---|---|
element | undefined | TimelineIconElement |
args | TimelineIconElementArgs |
Returns Promise<DataOrError<Element>>.