phina.js.d.ts
Preparing search index...
phina
asset
Asset
Interface Asset
interface
Asset
{
loadError
:
boolean
;
notFount
:
boolean
;
serverError
:
boolean
;
addEventListener
(
type
:
string
,
listener
:
Function
)
:
this
;
clear
(
type
:
string
)
:
this
;
clearEventListener
(
type
:
string
)
:
this
;
dispatchEvent
(
e
:
{
type
:
string
}
)
:
this
;
dispatchEventByType
(
type
:
string
,
param
:
object
)
:
this
;
fire
(
e
:
{
type
:
string
}
)
:
this
;
flare
(
type
:
string
,
param
?:
object
)
:
this
;
has
(
type
:
string
)
:
boolean
;
hasEventListener
(
type
:
string
)
:
boolean
;
isLoaded
()
:
boolean
;
load
(
src
:
string
)
:
phina
.
util
.
Flow
<
phina
.
asset
.
Asset
>
;
loadDummy
()
:
any
;
off
(
type
:
string
,
listener
:
Function
)
:
this
;
on
(
type
:
string
,
listener
:
Function
)
:
this
;
one
(
type
:
string
,
listener
:
Function
)
:
this
;
removeEventListener
(
type
:
string
,
listener
:
Function
)
:
this
;
}
Hierarchy (
View Summary
)
phina
.
util
.
EventDispatcher
Asset
phina
.
asset
.
File
phina
.
asset
.
Script
phina
.
asset
.
Texture
phina
.
asset
.
Sound
phina
.
asset
.
SpriteSheet
phina
.
asset
.
Font
Index
Properties
load
Error
not
Fount
server
Error
Methods
add
Event
Listener
clear
clear
Event
Listener
dispatch
Event
dispatch
Event
By
Type
fire
flare
has
has
Event
Listener
is
Loaded
load
load
Dummy
off
on
one
remove
Event
Listener
Properties
load
Error
loadError
:
boolean
not
Fount
notFount
:
boolean
server
Error
serverError
:
boolean
Methods
add
Event
Listener
addEventListener
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
clear
clear
(
type
:
string
)
:
this
Parameters
type
:
string
Returns
this
clear
Event
Listener
clearEventListener
(
type
:
string
)
:
this
Parameters
type
:
string
Returns
this
dispatch
Event
dispatchEvent
(
e
:
{
type
:
string
}
)
:
this
Parameters
e
:
{
type
:
string
}
Returns
this
dispatch
Event
By
Type
dispatchEventByType
(
type
:
string
,
param
:
object
)
:
this
Parameters
type
:
string
param
:
object
Returns
this
fire
fire
(
e
:
{
type
:
string
}
)
:
this
Parameters
e
:
{
type
:
string
}
Returns
this
flare
flare
(
type
:
string
,
param
?:
object
)
:
this
Parameters
type
:
string
Optional
param
:
object
Returns
this
has
has
(
type
:
string
)
:
boolean
Parameters
type
:
string
Returns
boolean
has
Event
Listener
hasEventListener
(
type
:
string
)
:
boolean
Parameters
type
:
string
Returns
boolean
is
Loaded
isLoaded
()
:
boolean
Returns
boolean
load
load
(
src
:
string
)
:
phina
.
util
.
Flow
<
phina
.
asset
.
Asset
>
Parameters
src
:
string
Returns
phina
.
util
.
Flow
<
phina
.
asset
.
Asset
>
load
Dummy
loadDummy
()
:
any
Returns
any
off
off
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
on
on
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
one
one
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
remove
Event
Listener
removeEventListener
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
load
Error
not
Fount
server
Error
Methods
add
Event
Listener
clear
clear
Event
Listener
dispatch
Event
dispatch
Event
By
Type
fire
flare
has
has
Event
Listener
is
Loaded
load
load
Dummy
off
on
one
remove
Event
Listener
phina.js.d.ts
Loading...