Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
Version: 3.2
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.1
Version: 3.0
Version: 2.4
Version: 2.3
Version: 2.2
Version: 2.1
Version: 2.0
Version: 1.10
Version: 1.9
Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
webView
WebViewImpl
Class WebViewImpl
Hierarchy
WebViewImpl
WebViewImplWeb
Index
Constructors
constructor
Properties
_component
_component
Event
List
_force
Update
_h
_loaded
_m00
_m01
_m04
_m05
_m12
_m13
_state
_ui
Trans
_w
_warpper
_webview
Accessors
UICamera
component
Event
List
loaded
state
webview
Methods
create
Web
View
destroy
disable
dispatch
Event
enable
evaluateJS
loadURL
remove
Web
View
reset
set
Javascript
Interface
Scheme
set
OnJSCallback
sync
Matrix
Constructors
constructor
new
Web
View
Impl
(
component
:
any
)
:
WebViewImpl
Parameters
component:
any
Returns
WebViewImpl
Properties
Protected
_component
_component
:
WebView
|
null
= null
Protected
_component
Event
List
_component
Event
List
:
Map
<
number
,
Function
>
= new Map<number, Function>()
Protected
_force
Update
_force
Update
:
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
_state
_state
:
EventType
= EventType.NONE
Protected
_ui
Trans
_ui
Trans
:
UITransform
|
null
= null
Protected
_w
_w
:
number
= 0
Protected
_warpper
_warpper
:
any
Protected
_webview
_webview
:
any
Accessors
UICamera
get
UICamera
(
)
:
null
|
Camera
Returns
null
|
Camera
component
Event
List
get
componentEventList
(
)
:
Map
<
number
,
Function
>
Returns
Map
<
number
,
Function
>
loaded
get
loaded
(
)
:
boolean
Returns
boolean
state
get
state
(
)
:
EventType
Returns
EventType
webview
get
webview
(
)
:
any
Returns
any
Methods
Abstract
create
Web
View
create
Web
View
(
)
:
void
Returns
void
destroy
destroy
(
)
:
void
Returns
void
Abstract
disable
disable
(
)
:
void
Returns
void
Protected
dispatch
Event
dispatch
Event
(
key
:
any
)
:
void
Parameters
key:
any
Returns
void
Abstract
enable
enable
(
)
:
void
Returns
void
Abstract
evaluateJS
evaluateJS
(
str
:
string
)
:
void
Parameters
str:
string
Returns
void
Abstract
loadURL
loadURL
(
url
:
string
)
:
void
Parameters
url:
string
Returns
void
Abstract
remove
Web
View
remove
Web
View
(
)
:
void
Returns
void
reset
reset
(
)
:
void
Returns
void
Abstract
set
Javascript
Interface
Scheme
set
Javascript
Interface
Scheme
(
scheme
:
string
)
:
void
Parameters
scheme:
string
Returns
void
Abstract
set
OnJSCallback
set
OnJSCallback
(
callback
:
Function
)
:
void
Parameters
callback:
Function
Returns
void
Abstract
sync
Matrix
sync
Matrix
(
)
:
void
Returns
void
Globals
web
View
Event
Type
Web
View
Web
View
Impl
constructor
_component
_component
Event
List
_force
Update
_h
_loaded
_m00
_m01
_m04
_m05
_m12
_m13
_state
_ui
Trans
_w
_warpper
_webview
UICamera
component
Event
List
loaded
state
webview
create
Web
View
destroy
disable
dispatch
Event
enable
evaluateJS
loadURL
remove
Web
View
reset
set
Javascript
Interface
Scheme
set
OnJSCallback
sync
Matrix
Web
View
Impl
Manager
Web
View
Impl
Web
_mat4_
temp
Generated using
TypeDoc