Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebViewImpl

Hierarchy

Index

Constructors

constructor

Properties

Protected _component

_component: WebView | null = null

Protected componentEventList

componentEventList: Map<EventType, (...args: any[any]) => void> = new Map()

Protected _forceUpdate

_forceUpdate: boolean = false

Protected _h

_h: number = 0

Protected _loaded

_loaded: boolean = false

Protected _m00

_m00: number = 0

Protected _m01

_m01: number = 0

Protected _m04

_m04: number = 0

Protected _m05

_m05: number = 0

Protected _m12

_m12: number = 0

Protected _m13

_m13: number = 0

Protected _node

_node: Node | null = null

Protected _state

_state: EventType = EventType.NONE

Protected _uiTrans

_uiTrans: UITransform | null = null

Protected _w

_w: number = 0

Protected _warpper

_warpper: any

Protected _webview

_webview: HTMLIFrameElement | null = null

Accessors

UICamera

  • get UICamera(): null | Camera

componentEventList

  • get componentEventList(): Map<EventType, (...args: any[any]) => void>

loaded

  • get loaded(): boolean

state

webview

  • get webview(): null | HTMLIFrameElement

Methods

Abstract createWebView

  • createWebView(): void

destroy

  • destroy(): void

Abstract disable

  • disable(): void

Protected dispatchEvent

  • dispatchEvent(key: EventType, ...args: any[any]): void

Abstract enable

  • enable(): void

Abstract evaluateJS

  • evaluateJS(str: string): void

Abstract loadURL

  • loadURL(url: string): void

Abstract removeWebView

  • removeWebView(): void

reset

  • reset(): void

Abstract setJavascriptInterfaceScheme

  • setJavascriptInterfaceScheme(scheme: string): void

Abstract setOnJSCallback

  • setOnJSCallback(callback: () => void): void

Abstract syncMatrix

  • syncMatrix(): void

Generated using TypeDoc