new LocalForageCollection()

Description

LocalForageCollection

Details

AbstractCollection

Members


key

Description

Base key name for the collection (simular to url for rest-based)

Properties
Name Type Description
key string

The key

Methods


initialize( options )

Description

Initialize the model with needed wireing

Parameters
Name Type Description
options object

Any options to pass


init( options )

Description

Custom init method for the model (called at inititlize)

Parameters
Name Type Description
options object

Any options to pass


<async> fetch( options )

Description

Fetch the collection

Parameters
Name Type Description
options object

Any options to pass


<async> save( options )

Description

Save the collection

Parameters
Name Type Description
options object

Any options to pass


<async> update( options )

Description

Update the collection

Parameters
Name Type Description
options object

Any options to pass


<async> destroy( options )

Description

Destroy the collection

Parameters
Name Type Description
options object

Any options to pass


<async> sync()

Description

Sync method for Collection