Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Backbone
Store
Class Store
Hierarchy
Events
Store
Index
Methods
addModelScope
addOrphanRelation
addReverseRelation
addSubModels
bind
checkId
find
getCollection
getObjectByName
initializeRelation
listenTo
listenToOnce
off
on
once
processOrphanRelations
register
removeModelScope
reset
resolveIdForItem
retroFitRelation
setupSuperModel
stopListening
trigger
unbind
unregister
update
Methods
public
addModelScope
(
scope
:
any
)
Parameters
scope:
any
public
addOrphanRelation
(
relation
:
any
)
Parameters
relation:
any
public
addReverseRelation
(
relation
:
any
)
Parameters
relation:
any
public
addSubModels
(
subModelTypes
:
RelationalModel
, superModelType
:
RelationalModel
)
Parameters
subModelTypes:
RelationalModel
superModelType:
RelationalModel
public
bind
(
eventName
:
string
, callback
:
Function
, context
?:
any
)
:
any
Parameters
eventName:
string
callback:
Function
context?:
any
optional
Returns
any
public
checkId
(
model
:
RelationalModel
, id
:
any
)
Parameters
model:
RelationalModel
id:
any
public
find
(
type
:
any
, item
:
string
)
:
RelationalModel
Parameters
type:
any
item:
string
Returns
RelationalModel
public
find
(
type
:
any
, item
:
number
)
:
RelationalModel
Parameters
type:
any
item:
number
Returns
RelationalModel
public
find
(
type
:
any
, item
:
RelationalModel
)
:
RelationalModel
Parameters
type:
any
item:
RelationalModel
Returns
RelationalModel
public
find
(
type
:
any
, item
:
any
)
:
RelationalModel
Parameters
type:
any
item:
any
Returns
RelationalModel
public
getCollection
(
type
:
RelationalModel
, create
:
boolean
)
:
Collection
Parameters
type:
RelationalModel
create:
boolean
Returns
Collection
public
getObjectByName
(
name
:
string
)
:
any
Parameters
name:
string
Returns
any
public
initializeRelation
(
model
:
any
, relation
:
any
, options
:
any
)
:
any
Parameters
model:
any
relation:
any
options:
any
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
processOrphanRelations
(
)
public
register
(
model
:
RelationalModel
)
Parameters
model:
RelationalModel
public
removeModelScope
(
scope
:
any
)
Parameters
scope:
any
public
reset
(
)
public
resolveIdForItem
(
type
:
any
, item
:
any
)
:
any
Parameters
type:
any
item:
any
Returns
any
public
retroFitRelation
(
relation
:
RelationalModel
, create
:
boolean
)
:
Collection
Parameters
relation:
RelationalModel
create:
boolean
Returns
Collection
public
setupSuperModel
(
modelType
:
RelationalModel
)
Parameters
modelType:
RelationalModel
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
public
unregister
(
model
:
RelationalModel
, collection
:
Collection
, options
:
any
)
Parameters
model:
RelationalModel
collection:
Collection
options:
any
public
update
(
model
:
RelationalModel
)
Parameters
model:
RelationalModel
Globals
Backbone
backbone
jquery
underscore
emulateHTTP
emulateJSONBackbone
history
AddOptions
CollectionFetchOptions
HistoryOptions
ModelDestroyOptions
ModelFetchOptions
ModelSaveOptions
ModelSetOptions
NavigateOptions
Parseable
PersistenceOptions
RouterOptions
Silenceable
Validable
ViewOptions
Waitable
Collection
Events
HasMany
HasOne
History
Model
ModelBase
Relation
RelationalModel
Router
Store
addModelScope
addOrphanRelation
addReverseRelation
addSubModels
bind
checkId
find
getCollection
getObjectByName
initializeRelation
listenTo
listenToOnce
off
on
once
processOrphanRelations
register
removeModelScope
reset
resolveIdForItem
retroFitRelation
setupSuperModel
stopListening
trigger
unbind
unregister
update
View
ajax
noConflict
setDomLibrary
sync