Player components.
Classes
PlayerContentCenterElement
Extends PlayerContentCenterElement_base.
new PlayerContentCenterElement():
PlayerContentCenterElement
Returns PlayerContentCenterElement. Inherited from PlayerContentCenterElement_base.constructor.
| Property | Modifier | Type |
|---|---|---|
acceptsClip | public | boolean |
connected | public | boolean |
cssBorderBoxSizing | static | CSSResult |
cssDivRoot | static | CSSResult |
cssHostDropping | static | CSSResult |
cssHostFlex | static | CSSResult |
defaultContent | public readonly | OptionalContent |
masher | public readonly | Masher |
masherOrNot | public | undefined | Masher |
signals | public readonly | SignalsRecord |
styles | static | CSSResult |
Methods
dropValid(
data):boolean
| Parameter | Type | Description |
|---|---|---|
data | DataTransfer |
Returns boolean. Overrides PlayerContentCenterElement_base.dropValid.
handleDragged():
void
Returns void. Inherited from PlayerContentCenterElement_base.handleDragged.
handleDropped(
dataTransfer?,clientX?):void
| Parameter | Type |
|---|---|
dataTransfer? | Not | DataTransfer |
clientX? | number |
Returns void. Inherited from PlayerContentCenterElement_base.handleDropped.
mashIndex(
dataTransfer?,clientX?):undefined|ClipLocation
| Parameter | Type |
|---|---|
dataTransfer? | Not | DataTransfer |
clientX? | number |
Returns undefined | ClipLocation. Inherited from PlayerContentCenterElement_base.mashIndex.
templateContent(
contents):TemplateContent
| Parameter | Type | Description |
|---|---|---|
contents | TemplateContents |
Returns TemplateContent. Inherited from PlayerContentCenterElement_base.templateContent.
unsubscribe(
arg,name?,type?):void
| Parameter | Type | Description |
|---|---|---|
arg | string | PropertyObject | |
name? | string | |
type? | string |
Returns void. Inherited from PlayerContentCenterElement_base.unsubscribe.
PlayerContentElement
Extends ContentElementBase.
new PlayerContentElement():
PlayerContentElement
Returns PlayerContentElement. Inherited from ContentElementBase.constructor.
| Property | Modifier | Type |
|---|---|---|
chromeCss | static | CSSResult |
connected | public | boolean |
contentCss | static | CSSResult |
cssBorderBoxSizing | static | CSSResult |
cssHostDropping | static | CSSResult |
cssHostFlex | static | CSSResult |
cssShared | static | CSSResult |
defaultContent | public readonly | OptionalContent |
exportParts | public | undefined | string |
masher | public readonly | Masher |
masherOrNot | public | undefined | Masher |
parts | public | string |
partSeparator | static | string |
signals | public readonly | SignalsRecord |
styles | static | CSSResult |
Methods
partContent(
part,slots):OptionalContent
| Parameter | Type | Description |
|---|---|---|
part | string | |
slots | Element[] |
Returns OptionalContent. Inherited from ContentElementBase.partContent.
refreshParts():
string
Returns string. Inherited from ContentElementBase.refreshParts.
templateContent(
contents):TemplateContent
| Parameter | Type | Description |
|---|---|---|
contents | TemplateContents |
Returns TemplateContent. Inherited from ContentElementBase.templateContent.
unsubscribe(
arg,name?,type?):void
| Parameter | Type | Description |
|---|---|---|
arg | string | PropertyObject | |
name? | string | |
type? | string |
Returns void. Inherited from ContentElementBase.unsubscribe.
PlayerElement
Extends PanelElementBase.
new PlayerElement():
PlayerElement
Returns PlayerElement. Inherited from PanelElementBase.constructor.
| Property | Modifier | Type |
|---|---|---|
connected | public | boolean |
cssBorderBoxSizing | static | CSSResult |
cssHostDropping | static | CSSResult |
cssHostFlex | static | CSSResult |
defaultContent | public readonly | OptionalContent |
exportParts | public | undefined | string |
masher | public readonly | Masher |
masherOrNot | public | undefined | Masher |
parts | public | string |
partSeparator | static | string |
signals | public readonly | SignalsRecord |
styles | static | CSSResult |
Methods
contentContent(
slots):OptionalContent
| Parameter | Type | Description |
|---|---|---|
slots | Element[] |
Returns OptionalContent. Inherited from PanelElementBase.contentContent.
footerContent(
slots):OptionalContent
| Parameter | Type | Description |
|---|---|---|
slots | Element[] |
Returns OptionalContent. Inherited from PanelElementBase.footerContent.
headerContent(
slots):OptionalContent
| Parameter | Type | Description |
|---|---|---|
slots | Element[] |
Returns OptionalContent. Inherited from PanelElementBase.headerContent.
partContent(
part,slots):OptionalContent
| Parameter | Type | Description |
|---|---|---|
part | string | |
slots | Element[] |
Returns OptionalContent. Inherited from PanelElementBase.partContent.
refreshParts():
string
Returns string. Inherited from PanelElementBase.refreshParts.
templateContent(
contents):TemplateContent
| Parameter | Type | Description |
|---|---|---|
contents | TemplateContents |
Returns TemplateContent. Inherited from PanelElementBase.templateContent.
unsubscribe(
arg,name?,type?):void
| Parameter | Type | Description |
|---|---|---|
arg | string | PropertyObject | |
name? | string | |
type? | string |
Returns void. Inherited from PanelElementBase.unsubscribe.
staticinstance(element):PlayerElement
| Parameter | Type | Description |
|---|---|---|
element | undefined | PlayerElement |
Returns PlayerElement.
PlayerFooterElement
Extends FooterElementBase.
new PlayerFooterElement():
PlayerFooterElement
Returns PlayerFooterElement. Inherited from FooterElementBase.constructor.
| Property | Modifier | Type |
|---|---|---|
chromeCss | static | CSSResult |
connected | public | boolean |
contentCss | static | CSSResult |
cssBorderBoxSizing | static | CSSResult |
cssHostDropping | static | CSSResult |
cssHostFlex | static | CSSResult |
cssShared | static | CSSResult |
defaultContent | public readonly | OptionalContent |
exportParts | public | undefined | string |
masher | public readonly | Masher |
masherOrNot | public | undefined | Masher |
parts | public | string |
partSeparator | static | string |
signals | public readonly | SignalsRecord |
styles | static | CSSResult |
Methods
partContent(
part,slots):OptionalContent
| Parameter | Type | Description |
|---|---|---|
part | string | |
slots | Element[] |
Returns OptionalContent. Inherited from FooterElementBase.partContent.
refreshParts():
string
Returns string. Inherited from FooterElementBase.refreshParts.
templateContent(
contents):TemplateContent
| Parameter | Type | Description |
|---|---|---|
contents | TemplateContents |
Returns TemplateContent. Inherited from FooterElementBase.templateContent.
unsubscribe(
arg,name?,type?):void
| Parameter | Type | Description |
|---|---|---|
arg | string | PropertyObject | |
name? | string | |
type? | string |
Returns void. Inherited from FooterElementBase.unsubscribe.
PlayerHeaderElement
Extends HeaderElementBase.
new PlayerHeaderElement():
PlayerHeaderElement
Returns PlayerHeaderElement. Inherited from HeaderElementBase.constructor.
| Property | Modifier | Type |
|---|---|---|
chromeCss | static | CSSResult |
connected | public | boolean |
contentCss | static | CSSResult |
cssBorderBoxSizing | static | CSSResult |
cssHostDropping | static | CSSResult |
cssHostFlex | static | CSSResult |
cssShared | static | CSSResult |
defaultContent | public readonly | OptionalContent |
exportParts | public | undefined | string |
masher | public readonly | Masher |
masherOrNot | public | undefined | Masher |
parts | public | string |
partSeparator | static | string |
signals | public readonly | SignalsRecord |
styles | static | CSSResult |
Methods
partContent(
part,slots):OptionalContent
| Parameter | Type | Description |
|---|---|---|
part | string | |
slots | Element[] |
Returns OptionalContent. Inherited from HeaderElementBase.partContent.
refreshParts():
string
Returns string. Inherited from HeaderElementBase.refreshParts.
templateContent(
contents):TemplateContent
| Parameter | Type | Description |
|---|---|---|
contents | TemplateContents |
Returns TemplateContent. Inherited from HeaderElementBase.templateContent.
unsubscribe(
arg,name?,type?):void
| Parameter | Type | Description |
|---|---|---|
arg | string | PropertyObject | |
name? | string | |
type? | string |
Returns void. Inherited from HeaderElementBase.unsubscribe.
PlayerRangeElement
Extends ElementBase.
new PlayerRangeElement():
PlayerRangeElement
Returns PlayerRangeElement. Inherited from ElementBase.constructor.
| Property | Modifier | Type |
|---|---|---|
connected | public | boolean |
cssBorderBoxSizing | static | CSSResult |
cssHostDropping | static | CSSResult |
cssHostFlex | static | CSSResult |
defaultContent | public readonly | OptionalContent |
frame | public | number |
frames | public | number |
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 ElementBase.templateContent.
unsubscribe(
arg,name?,type?):void
| Parameter | Type | Description |
|---|---|---|
arg | string | PropertyObject | |
name? | string | |
type? | string |
Returns void. Inherited from ElementBase.unsubscribe.
PlayerTimeElement
Extends ElementBase.
new PlayerTimeElement():
PlayerTimeElement
Returns PlayerTimeElement. Inherited from ElementBase.constructor.
| Property | Modifier | Type |
|---|---|---|
connected | public | boolean |
cssBorderBoxSizing | static | CSSResult |
cssHostDropping | static | CSSResult |
cssHostFlex | static | CSSResult |
defaultContent | public readonly | OptionalContent |
frame | public | number |
frames | public | number |
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 ElementBase.templateContent.
unsubscribe(
arg,name?,type?):void
| Parameter | Type | Description |
|---|---|---|
arg | string | PropertyObject | |
name? | string | |
type? | string |
Returns void. Inherited from ElementBase.unsubscribe.
Variables
PlayerContentCenterTag
constPlayerContentCenterTag:"media-masher-player-content-center"
PlayerContentTag
constPlayerContentTag:"media-masher-player-content"
PlayerFooterTag
constPlayerFooterTag:"media-masher-player-footer"
PlayerHeaderTag
constPlayerHeaderTag:"media-masher-player-header"
PlayerRangeTag
constPlayerRangeTag:"media-masher-player-range"
PlayerTag
constPlayerTag:"media-masher-player"
PlayerTimeTag
constPlayerTimeTag:"media-masher-player-time"
Functions
masherPlayerElementPlug
masherPlayerElementPlug(
element):Promise<DataOrError<Element>>
| Parameter | Type |
|---|---|
element | undefined | PlayerElement |
Returns Promise<DataOrError<Element>>.