â–¸ createContext(id, options?): any
description create render context object with component element id. no need to call
createSelectorQuery any more
example
Code
Parameters
| Name | Type |
|---|---|
id | string |
options? | CmdCreateContextOptions | ContextType |
Returns
any
Any
Interface: CmdCreateContextOptions
| Name | Type | Description |
|---|---|---|
| type? | ContextType | |
| rendererId? | number |
ContextType
Ƭ ContextType: "video" | "custom-native-component" | "webview-component" | "editor"
Was this page helpful?
Last modified on