Interface: IMyopComponentProxy
Defined in: src/MyopComponent.tsx:109
Proxy interface for window.myopComponent in WebView Mirrors the IMyopComponent interface from @myop/sdk
Properties
dispose()
dispose: () =>
void
Defined in: src/MyopComponent.tsx:123
Dispose the component
Returns
void
element
element:
IElementProxy
Defined in: src/MyopComponent.tsx:120
Element proxy for DOM manipulation
hide()
hide: () =>
void
Defined in: src/MyopComponent.tsx:126
Hide the component
Returns
void
id
id:
string
Defined in: src/MyopComponent.tsx:111
Component ID
inspect()
inspect: () =>
void
Defined in: src/MyopComponent.tsx:132
Inspect the component (debug)
Returns
void
props
props:
object
Defined in: src/MyopComponent.tsx:114
Props object with myop_init_interface and myop_cta_handler
myop_cta_handler
myop_cta_handler:
null| (action,payload?) =>void
myop_init_interface()
myop_init_interface: (
data) =>void
Parameters
data
any
Returns
void
show()
show: () =>
void
Defined in: src/MyopComponent.tsx:129
Show the component
Returns
void