Interface: JsWebView


CloudControl Pro 9 Docs / ui/web / JsWebView

Interface: JsWebView

ui/web.JsWebView

Hierarchy

  • WebView

    JsWebView

Table of contents

Properties

Methods

Properties

jsBridge

Readonly jsBridge: JavaScriptBridge

Methods

addListener

addListener(event, listener): JsWebView

Parameters

Name Type
event string | symbol
listener (...args: any[]) => void

Returns

JsWebView


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

JsWebView


on

on(event, listener): JsWebView

Parameters

Name Type
event string | symbol
listener (...args: any[]) => void

Returns

JsWebView


once

once(event, listener): JsWebView

Parameters

Name Type
event string | symbol
listener (...args: any[]) => void

Returns

JsWebView


prependListener

prependListener(event, listener): JsWebView

Parameters

Name Type
event string | symbol
listener (...args: any[]) => void

Returns

JsWebView


prependOnceListener

prependOnceListener(event, listener): JsWebView

Parameters

Name Type
event string | symbol
listener (...args: any[]) => void

Returns

JsWebView


rawListeners

rawListeners(event): Function[]

Parameters

Name Type
event string | symbol

Returns

Function[]


removeAllListeners

removeAllListeners(event?): JsWebView

Parameters

Name Type
event? string | symbol

Returns

JsWebView


removeListener

removeListener(event, listener): JsWebView

Parameters

Name Type
event string | symbol
listener (...args: any[]) => void

Returns

JsWebView


setMaxListeners

setMaxListeners(n): JsWebView

Parameters

Name Type
n number

Returns

JsWebView