phina.js.d.ts
Preparing search index...
phina
asset
AssetLoader
Interface AssetLoader
interface
AssetLoader
{
assets
:
object
;
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
;
load
(
params
:
AssetLoaderLoadParams
)
:
phina
.
util
.
Flow
<
null
>
;
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
AssetLoader
Index
Properties
assets
Methods
add
Event
Listener
clear
clear
Event
Listener
dispatch
Event
dispatch
Event
By
Type
fire
flare
has
has
Event
Listener
load
off
on
one
remove
Event
Listener
Properties
assets
assets
:
object
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
load
load
(
params
:
AssetLoaderLoadParams
)
:
phina
.
util
.
Flow
<
null
>
Parameters
params
:
AssetLoaderLoadParams
Returns
phina
.
util
.
Flow
<
null
>
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
assets
Methods
add
Event
Listener
clear
clear
Event
Listener
dispatch
Event
dispatch
Event
By
Type
fire
flare
has
has
Event
Listener
load
off
on
one
remove
Event
Listener
phina.js.d.ts
Loading...