Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
Version: 3.1
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.2
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
core
BrowserGetter
Class BrowserGetter
Hierarchy
BrowserGetter
Index
Properties
adaptation
Type
html
Methods
avail
Height
avail
Width
init
Object literals
meta
Properties
adaptation
Type
adaptation
Type
:
any
= legacyCC.sys.browserType
html
html
:
HTMLHtmlElement
|
undefined
Methods
avail
Height
avail
Height
(
frame
:
any
)
:
number
Parameters
frame:
any
Returns
number
avail
Width
avail
Width
(
frame
:
any
)
:
number
Parameters
frame:
any
Returns
number
init
init
(
)
:
void
Returns
void
Object literals
meta
meta
:
object
width
width
:
string
= "device-width"
Globals
core
Browser
Getter
adaptation
Type
html
avail
Height
avail
Width
init
meta
Generated using
TypeDoc