phina.js.d.ts
Preparing search index...
phina
util
Flow
Interface Flow<T>
interface
Flow
<
T
>
{
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
;
off
(
type
:
string
,
listener
:
Function
)
:
this
;
on
(
type
:
string
,
listener
:
Function
)
:
this
;
one
(
type
:
string
,
listener
:
Function
)
:
this
;
reject
()
:
void
;
removeEventListener
(
type
:
string
,
listener
:
Function
)
:
this
;
resolve
(
arg
:
T
)
:
void
;
then
<
U
>
(
func
:
(
arg
:
T
)
=>
U
|
phina
.
util
.
Flow
<
U
>
)
:
phina
.
util
.
Flow
<
U
>
;
}
Type Parameters
T
Hierarchy (
View Summary
)
phina
.
util
.
EventDispatcher
Flow
Index
Methods
add
Event
Listener
clear
clear
Event
Listener
dispatch
Event
dispatch
Event
By
Type
fire
flare
has
has
Event
Listener
off
on
one
reject
remove
Event
Listener
resolve
then
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
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
reject
reject
()
:
void
Returns
void
remove
Event
Listener
removeEventListener
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
resolve
resolve
(
arg
:
T
)
:
void
Parameters
arg
:
T
Returns
void
then
then
<
U
>
(
func
:
(
arg
:
T
)
=>
U
|
phina
.
util
.
Flow
<
U
>
)
:
phina
.
util
.
Flow
<
U
>
Type Parameters
U
Parameters
func
:
(
arg
:
T
)
=>
U
|
phina
.
util
.
Flow
<
U
>
Returns
phina
.
util
.
Flow
<
U
>
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
off
on
one
reject
remove
Event
Listener
resolve
then
phina.js.d.ts
Loading...