Members
-
key
-
Description
Base key name for the collection (simular to url for rest-based)
Properties
Name Type Description key
string The key
Details
Methods
-
initialize( options )
-
Description
Initialize the model with needed wireing
Parameters
Name Type Description options
object Any options to pass
Details
-
init( options )
-
Description
Custom init method for the model (called at inititlize)
Parameters
Name Type Description options
object Any options to pass
Details
-
<async> fetch( options )
-
Description
Fetch the collection
Parameters
Name Type Description options
object Any options to pass
Details
-
<async> save( options )
-
Description
Save the collection
Parameters
Name Type Description options
object Any options to pass
Details
-
<async> update( options )
-
Description
Update the collection
Parameters
Name Type Description options
object Any options to pass
Details
-
<async> destroy( options )
-
Description
Destroy the collection
Parameters
Name Type Description options
object Any options to pass
Details
-
<async> sync()
-
Description
Sync method for Collection
Details