phina.js.d.ts
Preparing search index...
phina
util
ChangeDispatcher
Interface ChangeDispatcher
interface
ChangeDispatcher
{
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
;
observe
()
:
void
;
off
(
type
:
string
,
listener
:
Function
)
:
this
;
on
(
type
:
string
,
listener
:
Function
)
:
this
;
one
(
type
:
string
,
listener
:
Function
)
:
this
;
register
(
obj
:
object
)
:
this
;
register
(
key
:
string
,
defaultValue
:
any
)
:
this
;
removeEventListener
(
type
:
string
,
listener
:
Function
)
:
this
;
unobserve
()
:
void
;
}
Hierarchy (
View Summary
)
phina
.
util
.
EventDispatcher
ChangeDispatcher
Index
Methods
add
Event
Listener
clear
clear
Event
Listener
dispatch
Event
dispatch
Event
By
Type
fire
flare
has
has
Event
Listener
observe
off
on
one
register
remove
Event
Listener
unobserve
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
observe
observe
()
:
void
Returns
void
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
register
register
(
obj
:
object
)
:
this
Parameters
obj
:
object
Returns
this
register
(
key
:
string
,
defaultValue
:
any
)
:
this
Parameters
key
:
string
defaultValue
:
any
Returns
this
remove
Event
Listener
removeEventListener
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
unobserve
unobserve
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
add
Event
Listener
clear
clear
Event
Listener
dispatch
Event
dispatch
Event
By
Type
fire
flare
has
has
Event
Listener
observe
off
on
one
register
remove
Event
Listener
unobserve
phina.js.d.ts
Loading...