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
WebViewImplWeb
Class WebViewImplWeb
Hierarchy
WebViewImpl
WebViewImplWeb
Index
Constructors
constructor
Properties
_component
component
Event
List
_force
Update
_h
_loaded
_m00
_m01
_m04
_m05
_m12
_m13
_node
_state
_ui
Trans
_w
_warpper
_webview
Accessors
UICamera
component
Event
List
loaded
state
webview
Methods
bind
Dom
Event
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
Web
(
component
:
any
)
:
WebViewImplWeb
Parameters
component:
any
Returns
WebViewImplWeb
Properties
Protected
_component
_component
:
WebView
|
null
= null
Protected
component
Event
List
component
Event
List
:
Map
<
EventType
,
(
...
args
:
any
[
any
]
)
=>
void
>
= new Map()
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
_node
_node
:
Node
|
null
= null
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
:
HTMLIFrameElement
|
null
= null
Accessors
UICamera
get
UICamera
(
)
:
null
|
Camera
Returns
null
|
Camera
component
Event
List
get
componentEventList
(
)
:
Map
<
EventType
,
(
...
args
:
any
[
any
]
)
=>
void
>
Returns
Map
<
EventType
,
(
...
args
:
any
[
any
]
)
=>
void
>
loaded
get
loaded
(
)
:
boolean
Returns
boolean
state
get
state
(
)
:
EventType
Returns
EventType
webview
get
webview
(
)
:
null
|
HTMLIFrameElement
Returns
null
|
HTMLIFrameElement
Methods
bind
Dom
Event
_bind
Dom
Event
(
)
:
void
Returns
void
create
Web
View
create
Web
View
(
)
:
void
Returns
void
destroy
destroy
(
)
:
void
Returns
void
disable
disable
(
)
:
void
Returns
void
Protected
dispatch
Event
dispatch
Event
(
key
:
EventType
,
...
args
:
any
[
any
]
)
:
void
Parameters
key:
EventType
Rest
...
args:
any
[
any
]
Returns
void
enable
enable
(
)
:
void
Returns
void
evaluateJS
evaluateJS
(
str
:
string
)
:
void
Parameters
str:
string
Returns
void
loadURL
loadURL
(
url
:
string
)
:
void
Parameters
url:
string
Returns
void
remove
Web
View
remove
Web
View
(
)
:
void
Returns
void
reset
reset
(
)
:
void
Returns
void
set
Javascript
Interface
Scheme
set
Javascript
Interface
Scheme
(
scheme
:
string
)
:
void
Parameters
scheme:
string
Returns
void
set
OnJSCallback
set
OnJSCallback
(
callback
:
(
)
=>
void
)
:
void
Parameters
callback:
(
)
=>
void
(
)
:
void
Returns
void
Returns
void
sync
Matrix
sync
Matrix
(
)
:
void
Returns
void
Globals
component/web-
view
Event
Type
Web
View
Web
View
Impl
Web
View
Impl
Manager
Web
View
Impl
Web
constructor
_component
component
Event
List
_force
Update
_h
_loaded
_m00
_m01
_m04
_m05
_m12
_m13
_node
_state
_ui
Trans
_w
_warpper
_webview
UICamera
component
Event
List
loaded
state
webview
bind
Dom
Event
create
Web
View
destroy
disable
dispatch
Event
enable
evaluateJS
loadURL
remove
Web
View
reset
set
Javascript
Interface
Scheme
set
OnJSCallback
sync
Matrix
_mat4_
temp
Generated using
TypeDoc