Results 1 - 3 of 3

DataStore.onchange

The onchange event handler of the DataStore interface fires when a change is made to the data store. Its main use is to synchronize different apps that are using the data store when a change is made. When fired, this event returns a DataStoreChangeEvent, which can be used to handle the change that was just made. Alternatively, when the event fires you could create a DataStoreCursor and iterate through all the records, if needed.
API B2G Data Store Data Store API Database DataStore Events events Firefox OS onchange Property Reference Référence Storage storage