Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Backbone
Wreqr
EventAggregator
Class EventAggregator
Hierarchy
Events
EventAggregator
Index
Constructor methods
constructor
Methods
bind
listenTo
listenToOnce
off
on
once
stopListening
trigger
unbind
Constructor methods
constructor
(
options
?:
any
)
:
EventAggregator
Parameters
options?:
any
optional
Returns
EventAggregator
Methods
public
bind
(
eventName
:
string
, callback
:
Function
, context
?:
any
)
:
any
Parameters
eventName:
string
callback:
Function
context?:
any
optional
Returns
any
public
listenTo
(
object
:
any
, events
:
string
, callback
:
Function
)
:
any
Parameters
object:
any
events:
string
callback:
Function
Returns
any
public
listenToOnce
(
object
:
any
, events
:
string
, callback
:
Function
)
:
any
Parameters
object:
any
events:
string
callback:
Function
Returns
any
public
off
(
eventName
?:
string
, callback
?:
Function
, context
?:
any
)
:
any
Parameters
eventName?:
string
optional
callback?:
Function
optional
context?:
any
optional
Returns
any
public
on
(
eventName
:
string
, callback
?:
Function
, context
?:
any
)
:
any
Parameters
eventName:
string
callback?:
Function
optional
context?:
any
optional
Returns
any
public
once
(
events
:
string
, callback
:
Function
, context
?:
any
)
:
any
Parameters
events:
string
callback:
Function
context?:
any
optional
Returns
any
public
stopListening
(
object
?:
any
, events
?:
string
, callback
?:
Function
)
:
any
Parameters
object?:
any
optional
events?:
string
optional
callback?:
Function
optional
Returns
any
public
trigger
(
eventName
:
string
, args
?:
Array<any>
)
:
any
Parameters
eventName:
string
args?:
Array<any>
optional
Returns
any
public
unbind
(
eventName
?:
string
, callback
?:
Function
, context
?:
any
)
:
any
Parameters
eventName?:
string
optional
callback?:
Function
optional
context?:
any
optional
Returns
any
Globals
Backbone
Backbone.Wreqr
Marionette
backbone
backbone
jquery
underscore
CommandStorage
Commands
EventAggregator
constructor
bind
listenTo
listenToOnce
off
on
once
stopListening
trigger
unbind
Handlers
RequestResponse