Interface: JsWebView
CloudControl Pro 9 Docs / ui/web / JsWebView
Interface: JsWebView
ui/web.JsWebView
Hierarchy
-
WebView
↳
JsWebView
Table of contents
Properties
Methods
- addListener
- emit
- eventNames
- getMaxListeners
- listenerCount
- listeners
- off
- on
- once
- prependListener
- prependOnceListener
- rawListeners
- removeAllListeners
- removeListener
- setMaxListeners
Properties
jsBridge
• Readonly
jsBridge: JavaScriptBridge
Methods
addListener
▸ addListener(event
, listener
): JsWebView
Parameters
Name | Type |
---|---|
event |
string | symbol |
listener |
(...args : any []) => void |
Returns
emit
▸ emit(event
, ...args
): boolean
Parameters
Name | Type |
---|---|
event |
string | symbol |
...args |
any [] |
Returns
boolean
eventNames
▸ eventNames(): (string
| symbol
)[]
Returns
(string
| symbol
)[]
getMaxListeners
▸ getMaxListeners(): number
Returns
number
listenerCount
▸ listenerCount(event
): number
Parameters
Name | Type |
---|---|
event |
string | symbol |
Returns
number
listeners
▸ listeners(event
): Function
[]
Parameters
Name | Type |
---|---|
event |
string | symbol |
Returns
Function
[]
off
▸ off(event
, listener
): JsWebView
Parameters
Name | Type |
---|---|
event |
string | symbol |
listener |
(...args : any []) => void |
Returns
on
▸ on(event
, listener
): JsWebView
Parameters
Name | Type |
---|---|
event |
string | symbol |
listener |
(...args : any []) => void |
Returns
once
▸ once(event
, listener
): JsWebView
Parameters
Name | Type |
---|---|
event |
string | symbol |
listener |
(...args : any []) => void |
Returns
prependListener
▸ prependListener(event
, listener
): JsWebView
Parameters
Name | Type |
---|---|
event |
string | symbol |
listener |
(...args : any []) => void |
Returns
prependOnceListener
▸ prependOnceListener(event
, listener
): JsWebView
Parameters
Name | Type |
---|---|
event |
string | symbol |
listener |
(...args : any []) => void |
Returns
rawListeners
▸ rawListeners(event
): Function
[]
Parameters
Name | Type |
---|---|
event |
string | symbol |
Returns
Function
[]
removeAllListeners
▸ removeAllListeners(event?
): JsWebView
Parameters
Name | Type |
---|---|
event? |
string | symbol |
Returns
removeListener
▸ removeListener(event
, listener
): JsWebView
Parameters
Name | Type |
---|---|
event |
string | symbol |
listener |
(...args : any []) => void |
Returns
setMaxListeners
▸ setMaxListeners(n
): JsWebView
Parameters
Name | Type |
---|---|
n |
number |