Search
Preparing search index...
The search index is not available
Owlly
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
EventHubClassic
Class EventHubClassic
Hierarchy
EventHubClassic
Controller
Screen
Overlay
Index
Constructors
constructor
Properties
event
Map
Methods
emit
off
on
Constructors
constructor
new
Event
Hub
Classic
(
)
:
EventHubClassic
Returns
EventHubClassic
Properties
Protected
event
Map
event
Map
:
Map
<
string
,
Set
<
Function
>
>
Methods
Protected
emit
emit
(
event
:
string
,
...
args
:
unknown
[]
)
:
void
Parameters
event:
string
Rest
...
args:
unknown
[]
Returns
void
off
off
(
event
:
string
, callback
:
Function
)
:
void
注销事件监听
Parameters
event:
string
事件名
callback:
Function
回调函数
Returns
void
on
on
(
event
:
string
, callback
:
Function
)
:
void
注册事件监听
Parameters
event:
string
事件名
callback:
Function
回调函数
Returns
void
Globals
Event
Hub
Classic
constructor
event
Map
emit
off
on
注销事件监听