Browser components.
Classes
BrowserAssetElement
Extends BrowserAssetElement_base.
new BrowserAssetElement():
BrowserAssetElement
Returns BrowserAssetElement. Inherited from BrowserAssetElement_base.constructor.
| Property | Modifier | Type |
|---|---|---|
asset | public | undefined | ClientAsset |
assetId | public | string |
assetType | public | string |
border | public readonly | number |
connected | public | boolean |
contentForHead | public | OptionalContent |
cssBorderBoxSizing | static | CSSResult |
cssHostDropping | static | CSSResult |
cssHostFlex | static | CSSResult |
defaultContent | public readonly | OptionalContent |
handleDragStart | public | (event: Event) => void |
handlePointerDown | public | (event: Event) => void |
head | public | OptionalContent |
iconIds | public readonly | string[] |
label | public | undefined | string |
masher | public readonly | Masher |
masherOrNot | public | undefined | Masher |
preview? | public | Element |
previewSize | public | Size<number> |
previewTarget | public | string |
promise | public | undefined | Promise<void> |
refreshable | public readonly | boolean |
selected | public | boolean |
signals | public readonly | SignalsRecord |
size | public | Size<number> |
sizeHeight | public | number |
sizeWidth | public | number |
styles | static | CSSResult |
visibility | public | boolean |
Methods
handleAssetUpdated(
signal):void
| Parameter | Type | Description |
|---|---|---|
signal | Signal |
Returns void.
handleTargetIdSignal(
signal):void
| Parameter | Type |
|---|---|
signal | Signal |
Returns void. Inherited from BrowserAssetElement_base.handleTargetIdSignal.
refreshAsset():
void
Returns void.
refreshPreview():
void
Returns void. Inherited from BrowserAssetElement_base.refreshPreview.
templateContent(
contents):TemplateContent
| Parameter | Type | Description |
|---|---|---|
contents | TemplateContents |
Returns TemplateContent. Inherited from BrowserAssetElement_base.templateContent.
unsubscribe(
arg,name?,type?):void
| Parameter | Type | Description |
|---|---|---|
arg | string | PropertyObject | |
name? | string | |
type? | string |
Returns void. Inherited from BrowserAssetElement_base.unsubscribe.
willUpdate(
values):void
| Parameter | Type | Description |
|---|---|---|
values | PropertyValueMap<BrowserAssetElement> |
Returns void. Overrides BrowserAssetElement_base.willUpdate.
staticinstance(element,detail):BrowserAssetElement
| Parameter | Type | Description |
|---|---|---|
element | undefined | BrowserAssetElement | |
detail | BrowserElementArgs |
Returns BrowserAssetElement.
BrowserContentCenterElement
Extends BrowserContentCenterElement_base.
new BrowserContentCenterElement():
BrowserContentCenterElement
Returns BrowserContentCenterElement. Inherited from BrowserContentCenterElement_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 |
elementsById | public | Record<string, Element> |
masher | public readonly | Masher |
masherOrNot | public | undefined | Masher |
signals | public readonly | SignalsRecord |
sizeById | public | Record<string, Size<number>> |
sizeObserver? | public | ResizeObserver |
sort | public | SearchSort |
styles | static | CSSResult |
visibilityById | public | Record<string, boolean> |
visibilityObserver? | public | IntersectionObserver |
visibilityRoot? | public | Element |
Methods
dropValid(
dataTransfer?):boolean
| Parameter | Type |
|---|---|
dataTransfer? | Not | DataTransfer |
Returns boolean. Inherited from BrowserContentCenterElement_base.dropValid.
handleDragged():
void
Returns void. Inherited from BrowserContentCenterElement_base.handleDragged.
handleDropped(
dataTransfer?,clientX?):void
| Parameter | Type |
|---|---|
dataTransfer? | Not | DataTransfer |
clientX? | number |
Returns void. Inherited from BrowserContentCenterElement_base.handleDropped.
mashIndex(
dataTransfer?,clientX?):undefined|ClipLocation
| Parameter | Type |
|---|---|
dataTransfer? | Not | DataTransfer |
clientX? | number |
Returns undefined | ClipLocation. Inherited from BrowserContentCenterElement_base.mashIndex.
sizeObserve(
wasObserved,nowObserved):void
| Parameter | Type |
|---|---|
wasObserved | Record<string, Element> |
nowObserved | Record<string, Element> |
Returns void. Inherited from BrowserContentCenterElement_base.sizeObserve.
sizeObserved(
entries,observer):void
| Parameter | Type |
|---|---|
entries | ResizeObserverEntry[] |
observer | ResizeObserver |
Returns void. Inherited from BrowserContentCenterElement_base.sizeObserved.
templateContent(
contents):TemplateContent
| Parameter | Type | Description |
|---|---|---|
contents | TemplateContents |
Returns TemplateContent. Inherited from BrowserContentCenterElement_base.templateContent.
unsubscribe(
arg,name?,type?):void
| Parameter | Type | Description |
|---|---|---|
arg | string | PropertyObject | |
name? | string | |
type? | string |
Returns void. Inherited from BrowserContentCenterElement_base.unsubscribe.
visibilityObserve(
wasObserved,nowObserved):boolean
| Parameter | Type |
|---|---|
wasObserved | Record<string, Element> |
nowObserved | Record<string, Element> |
Returns boolean. Inherited from BrowserContentCenterElement_base.visibilityObserve.
willUpdate(
values):void
| Parameter | Type | Description |
|---|---|---|
values | PropertyValueMap<BrowserContentCenterElement> |
Returns void. Overrides BrowserContentCenterElement_base.willUpdate.
BrowserContentElement
Extends ContentElementBase.
new BrowserContentElement():
BrowserContentElement
Returns BrowserContentElement. 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.
BrowserElement
Extends PanelElementBase.
new BrowserElement():
BrowserElement
Returns BrowserElement. 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):BrowserElement
| Parameter | Type | Description |
|---|---|---|
element | undefined | BrowserElement |
Returns BrowserElement.
BrowserFooterElement
Extends FooterElementBase.
new BrowserFooterElement():
BrowserFooterElement
Returns BrowserFooterElement. 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.
BrowserHeaderElement
Extends HeaderElementBase.
new BrowserHeaderElement():
BrowserHeaderElement
Returns BrowserHeaderElement. 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.
Interfaces
BrowserElementArgs
Extends VisibilityObserved.
| Property | Type |
|---|---|
assetId | string |
sizeHeight | number |
sizeWidth | number |
visibility | boolean |
Variables
BrowserAssetTag
constBrowserAssetTag:"media-masher-browser-asset"
BrowserContentCenterTag
constBrowserContentCenterTag:"media-masher-browser-content-center"
BrowserContentTag
constBrowserContentTag:"media-masher-browser-content"
BrowserFooterTag
constBrowserFooterTag:"media-masher-browser-footer"
BrowserHeaderTag
constBrowserHeaderTag:"media-masher-browser-header"
BrowserTag
constBrowserTag:"media-masher-browser"
Functions
masherBrowserElementPlug
masherBrowserElementPlug(
element):Promise<DataOrError<Element>>
| Parameter | Type |
|---|---|
element | undefined | BrowserElement |
Returns Promise<DataOrError<Element>>.