Results 61 - 70 of 70

DataStore.readOnly

The readOnly read-only property of the DataStore interface returns a boolean indicating whether the current data store is read-only.
API B2G Data Store Data Store API Database DataStore Firefox OS Property readOnly Reference Référence storage Storage

DataStore.remove()

The remove() method of the DataStore interface deletes one or more objects from the current data store.
API B2G Data Store Data Store API Database DataStore Firefox OS Method Reference remove Référence Storage storage

DataStore.revisionId

The revisionId read-only property of the DataStore interface returns the current data store's current revision ID. This ID can be tracked, allowing you to synchronize apps using the data store to this point in its history.
API B2G Data Store Data Store API Database DataStore Firefox OS Property Reference revisionId Référence storage Storage

DataStore.sync()

The sync() method of the DataStore interface opens a cursor that allows you to step through any changes that have taken place in the data store going back to a particular revision ID, and run code in response to different types of change.
API B2G Data Store Data Store API Database DataStore Firefox OS Method Reference Référence Storage storage Sync sync

<blend-mode>

The <blend-mode> type is a collection of keywords describing blend modes.
Blend modes Compositing CSS CSS Compositing CSS Data Type Reference Référence

<transform-function>

The <transform-function> CSS data type denotes a function applied to an element's representation in order to modify it. Usually such transform may be expressed by matrices and the resulting images can be determined using matrix multiplication on each point.
CSS CSS Data Type CSS Reference CSS Transforms Layout Reference Web

<url>

The <url> CSS data type denotes a pointer to a resource. It has no proper syntax and can only be expressed through the url() functional notation.
CSS data Layout Reference Référence Type URI url URL urn Web

Using the Data Store API

To explain the main functionality of Data Store, we have build two examples that work together (you can download these from Github using the code below, and experiment with them as you wish):
B2G Data Store API Database Firefox OS Guide Storage storage

DataStore

The DataStore interface of the Data Store API represents a retrieved set of data, and includes standard properties for accessing the store's name, owner, etc., methods for reading, modifying and syncing data, and the onchange event handler for reacting to changes to the data.
API Data Store API Database DataStore Interface Non-standard Reference Référence storage Storage