Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Backbone
Wreqr
Handlers
Class Handlers
Hierarchy
Events
Handlers
Commands
RequestResponse
Index
Constructor methods
constructor
Properties
options
Methods
bind
getHandler
hasHandler
listenTo
listenToOnce
off
on
once
removeAllHandlers
removeHandler
setHandler
stopListening
trigger
unbind
Constructor methods
constructor
(
options
?:
any
)
:
Handlers
Parameters
options?:
any
optional
Returns
Handlers
Properties
public
options
:
any
Methods
public
bind
(
eventName
:
string
, callback
:
Function
, context
?:
any
)
:
any
Parameters
eventName:
string
callback:
Function
context?:
any
optional
Returns
any
public
getHandler
(
name
:
string
)
:
Function
Parameters
name:
string
Returns
Function
public
hasHandler
(
name
:
string
)
:
boolean
Parameters
name:
string
Returns
boolean
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
removeAllHandlers
(
)
public
removeHandler
(
name
:
string
)
:
any
Parameters
name:
string
Returns
any
public
setHandler
(
name
:
string
, handler
:
any
, context
:
any
)
Parameters
name:
string
handler:
any
context:
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
Handlers
constructor
options
bind
getHandler
hasHandler
listenTo
listenToOnce
off
on
once
removeAllHandlers
removeHandler
setHandler
stopListening
trigger
unbind
RequestResponse