Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface JsWebView

Hierarchy

  • WebView
    • JsWebView

Index

Properties

Readonly jsBridge

Methods

addListener

  • addListener(event: string | symbol, listener: (...args: any[]) => void): JsWebView
  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns JsWebView

emit

  • emit(event: string | symbol, ...args: any[]): boolean
  • Parameters

    • event: string | symbol
    • Rest ...args: any[]

    Returns boolean

eventNames

  • eventNames(): (string | symbol)[]
  • Returns (string | symbol)[]

getMaxListeners

  • getMaxListeners(): number
  • Returns number

listenerCount

  • listenerCount(event: string | symbol): number
  • Parameters

    • event: string | symbol

    Returns number

listeners

  • listeners(event: string | symbol): Function[]
  • Parameters

    • event: string | symbol

    Returns Function[]

off

  • off(event: string | symbol, listener: (...args: any[]) => void): JsWebView
  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns JsWebView

on

  • on(event: string | symbol, listener: (...args: any[]) => void): JsWebView
  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns JsWebView

once

  • once(event: string | symbol, listener: (...args: any[]) => void): JsWebView
  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns JsWebView

prependListener

  • prependListener(event: string | symbol, listener: (...args: any[]) => void): JsWebView
  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns JsWebView

prependOnceListener

  • prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): JsWebView
  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns JsWebView

rawListeners

  • rawListeners(event: string | symbol): Function[]
  • Parameters

    • event: string | symbol

    Returns Function[]

removeAllListeners

  • removeAllListeners(event?: string | symbol): JsWebView
  • Parameters

    • Optional event: string | symbol

    Returns JsWebView

removeListener

  • removeListener(event: string | symbol, listener: (...args: any[]) => void): JsWebView
  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns JsWebView

setMaxListeners