dojox/rpc/OfflineRest (version 1.10)

Summary

Makes the REST service be able to store changes in local storage so it can be used offline automatically.

See the dojox/rpc/OfflineRest reference documentation for more information.

Property Summary

Method Summary

Properties

stores
Defined by: dojox/rpc/OfflineRest

Methods

addStore(store,baseQuery)

Adds a store to the monitored store for local storage

Parameter Type Description
store data-store

Store to add

baseQuery query
Optional

This is the base query to should be used to load the items for the store. Generally you want to load all the items that should be available when offline.

downloadChanges()
sendChanges()
sync()
turnOffAutoSync()
Error in the documentation? Can’t find what you are looking for? Let us know!