Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Backbone
ModelBase
Class ModelBase
Hierarchy
Events
ModelBase
Model
Collection
Collection
Index
Properties
url
Methods
bind
listenTo
listenToOnce
off
on
once
parse
stopListening
sync
toJSON
trigger
unbind
Properties
public
url
:
any
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
parse
(
response
:
any
, options
?:
any
)
:
any
Parameters
response:
any
options?:
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
sync
(
arg
?:
Array<any>
)
:
JQueryXHR
Parameters
arg?:
Array<any>
optional
Returns
JQueryXHR
public
toJSON
(
options
?:
any
)
:
any
Parameters
options?:
any
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
Backgrid
backbone
jquery
underscore
emulateHTTP
emulateJSONBackbone
history
AddOptions
CollectionFetchOptions
HistoryOptions
ModelDestroyOptions
ModelFetchOptions
ModelSaveOptions
ModelSetOptions
NavigateOptions
Parseable
PersistenceOptions
RouterOptions
Silenceable
Validable
ViewOptions
Waitable
Collection
Events
History
Model
ModelBase
url
bind
listenTo
listenToOnce
off
on
once
parse
stopListening
sync
toJSON
trigger
unbind
Router
View
ajax
noConflict
setDomLibrary
sync