Interface: IElementProxy
Defined in: src/MyopComponent.tsx:94
Element proxy for accessing/modifying the component's DOM element
Properties
get()
get: (
path) =>Promise<any>
Defined in: src/MyopComponent.tsx:98
Get a property from the element (e.g., element.style.background) - returns Promise
Parameters
path
string
Returns
Promise<any>
set()
set: (
path,value) =>void
Defined in: src/MyopComponent.tsx:96
Set a property on the element (e.g., element.style.background = 'red')
Parameters
path
string
value
any
Returns
void
style
style:
object
Defined in: src/MyopComponent.tsx:100
Style proxy for convenient access
get()
get: (
property) =>Promise<string>