Class: abstract BaseMyopComponent<P, R>
Defined in: host/components/IMyopComponent.ts:136
Extended by
Type Parameters
• P = any
• R extends RefTypes = RefTypes
Implements
Constructors
new BaseMyopComponent()
protectednew BaseMyopComponent<P,R>(componentDefinition,container,options?):BaseMyopComponent<P,R>
Defined in: host/components/IMyopComponent.ts:143
Parameters
componentDefinition
container
HTMLElement
options?
Returns
BaseMyopComponent<P, R>
Properties
_markedForDisposed
_markedForDisposed:
boolean=false
Defined in: host/components/IMyopComponent.ts:179
_whenInitiated
_whenInitiated:
Promise<any>
Defined in: host/components/IMyopComponent.ts:283
_whenInitiatedReject()?
optional_whenInitiatedReject: (value?) =>any
Defined in: host/components/IMyopComponent.ts:281
Parameters
value?
any
Returns
any
_whenInitiatedResolve()?
optional_whenInitiatedResolve: (value?) =>any
Defined in: host/components/IMyopComponent.ts:280
Parameters
value?
any
Returns
any
componentDefinition
componentDefinition:
IComponentDefinitionConfig
Defined in: host/components/IMyopComponent.ts:143
Implementation of
IMyopComponent.componentDefinition
container
container:
HTMLElement
Defined in: host/components/IMyopComponent.ts:143
Implementation of
element?
optionalelement:HTMLElement
Defined in: host/components/IMyopComponent.ts:141
Implementation of
id
id:
string=''
Defined in: host/components/IMyopComponent.ts:137
Implementation of
isInitiated
isInitiated:
boolean=false
Defined in: host/components/IMyopComponent.ts:278
Implementation of
messageHandlers
messageHandlers:
Record<string,messageHandler<any>[]> ={}
Defined in: host/components/IMyopComponent.ts:139
props
props:
P
Defined in: host/components/IMyopComponent.ts:418
Implementation of
refs
refs:
R
Defined in: host/components/IMyopComponent.ts:419
Implementation of
Accessors
markedForDisposed
Get Signature
get markedForDisposed():
boolean
Defined in: host/components/IMyopComponent.ts:181
Returns
boolean
Set Signature
set markedForDisposed(
value):void
Defined in: host/components/IMyopComponent.ts:185
Parameters
value
boolean
Returns
void
Implementation of
IMyopComponent.markedForDisposed
uiTags
Get Signature
get uiTags():
string[]
Defined in: host/components/IMyopComponent.ts:175
Runtime tags: only tags named ui:... (e.g. ui:beta). [] when there are none.
Returns
string[]
Runtime tags: only tags named ui:... (e.g. ui:beta). [] when there are none.
Implementation of
Methods
bind()
bind<
T>(messageType,handler):void
Defined in: host/components/IMyopComponent.ts:199
Type Parameters
• T extends BaseMyopMessage
Parameters
messageType
string
handler
(message) => boolean
Returns
void
Implementation of
bindWhen()
bindWhen<
T>(messageType,predicate,handler):CleanupHandler
Defined in: host/components/IMyopComponent.ts:210
Type Parameters
• T extends BaseMyopMessage
Parameters
messageType
string
predicate
(message) => boolean
handler
(message) => void
Returns
dispose()
dispose():
void
Defined in: host/components/IMyopComponent.ts:371
Returns
void
Implementation of
hide()
abstracthide():void
Defined in: host/components/IMyopComponent.ts:192
Returns
void
Implementation of
initiated()
initiated():
Promise<any>
Defined in: host/components/IMyopComponent.ts:288
Returns
Promise<any>
Implementation of
inspect()
abstractinspect():CleanupHandler
Defined in: host/components/IMyopComponent.ts:196
Returns
Implementation of
onMessageReceived()
onMessageReceived(
incomeMessage):boolean
Defined in: host/components/IMyopComponent.ts:240
Parameters
incomeMessage
Returns
boolean
Implementation of
IMyopComponent.onMessageReceived
send()
send(
message):CleanupHandler
Defined in: host/components/IMyopComponent.ts:313
Parameters
message
Returns
Implementation of
setInitiated()
setInitiated():
void
Defined in: host/components/IMyopComponent.ts:271
Returns
void
Implementation of
show()
abstractshow():void
Defined in: host/components/IMyopComponent.ts:194
Returns
void