Results 1 - 20 of 70

Data Store API

The Data Store API was created to allow multiple Firefox OS apps, with potentially different data structures and storage mechanisms, to create, maintain and share the same data objects efficiently between one another. Each app can then import the data into its own local IndexedDB to index according to their specific query needs. This is not necessary however, and you can just write directly to the Data Store API data store.
API Certified data Data Store Data Store API Firefox OS Interface Overview Reference Référence WebAPI

DataStoreTask.data

The data read-only property of the DataStoreChangeEvent interface returns the data stored in the changed record in the data store. Must return null if the operation is clear or done.
API data Data Store Data Store API Database DataStoreTask Property Reference Référence storage Storage

<custom-ident>

The <custom-ident> CSS data value denotes an arbitrary user-defined string used as an identifier. It is case-sensitive and in each context, several values are excluded to prevent misinterpretations.
CSS CSS Data Type Layout Reference Web

<integer>

The <integer> CSS data type denotes an integer number, positive or negative. There isn't any associated unit with the value. An integer consists of one or several decimal digits, 0 to 9, optionally preceded by one single + or - sign.
CSS CSS Data Type Layout Reference Web

<length>

The <length> CSS data type denotes distance measurements. It is a <number> immediately followed by a length unit (px, em, pc, in, mm, …). Like for any CSS dimension, there is no space between the unit literal and the number. The length unit is optional after the <number> 0.
CSS CSS Data Type Layout Reference Web

<percentage>

The <percentage> CSS data types represent a percentage value. Many CSS properties can take percentage values, often to define sizes in terms of parent objects. Percentages are formed by a <number> immediately followed by the percentage sign %. Just as is the case with all other units in CSS, there isn't a space between the '%' and the number.
CSS CSS Data Type Layout Reference Web

<position>

The <position> CSS data type denotes a coordinate in a 2D space used to set a location relative to a box.
CSS CSS Data Type Layout Reference Web

<ratio>

The <ratio> CSS data type, used for describing aspect ratios in media queries, denotes the proportion between two unitless values. It is a strictly positive <integer> followed by a slash ('/', Unicode U+002F SOLIDUS) and a second strictly positive <integer>. There may be spaces before and after the solidus.
CSS CSS Data Type Layout Reference Web

<resolution>

The <resolution> CSS data types, used in media queries, denotes the density of pixels of an output device, its resolution. It is a <number> immediately followed by a unit of resolution (dpi, dpcm, ...). Like for any CSS dimension, there is no space between the unit literal and the number.
CSS CSS Data Type Layout Reference Web

<string>

The <string> CSS data type represents a string. It is formed by a Unicode characters delimited by either double (") or single (') quotes. A double quoted string cannot contain double quotes unless escaped using a backslash (\). The same practice applies for single quoted strings, they cannot contain single quotes unless escaped using a backslash (\). The backslash character must be escaped to be part of the string.
CSS CSS Data Type Layout Reference Web

Notification.data

The data read-only property of the Notification interface returns a structured clone of the notification's data, as specified in the data option of the Notification() constructor.
API data Notifications Property Reference Référence

WindowBase64.btoa()

The WindowBase64.btoa() method creates a base-64 encoded ASCII string from a String object in which each character in the string is treated as a byte of binary data.
API data Method Reference Strings strings Web

DataStoreChangeEvent

The DataStoreChangeEvent interface of the Data Store API represents the event related to a record changed in the data store, i.e. this is returned once a change is made and the change event is fired (see DataStore.onchange for the handler).
API Data Store Data Store API Database DataStoreChangeEvent Interface Non-standard Reference Référence Storage storage

DataStoreChangeEvent.id

The id read-only property of the DataStoreChangeEvent interface returns the identifier of the changed record in the data store. This must return null if the operation is cleared.
API Data Store Data Store API Database DataStoreChangeEvent id Property Reference Référence storage Storage

DataStoreChangeEvent.operation

The operation read-only property of the DataStoreChangeEvent interface returns the type of operation that represents the current change that has been made to the data store.
API Data Store Data Store API Database DataStoreChangeEvent operation Property Reference Référence Storage storage

DataStoreChangeEvent.owner

The owner read-only property of the DataStoreChangeEvent interface returns the manifest URL of the application that made the change to the data store.
API Data Store Data Store API Database DataStoreChangeEvent owner Property Reference Référence Storage storage

DataStoreChangeEvent.revisionId

The revisionId read-only property of the DataStoreChangeEvent interface returns the ID of the current revision of the data store, i.e. the current change that has been made to a data record.
API Data Store Data Store API Database DataStoreChangeEvent Property Reference revisionId Référence Storage storage

DataStoreCursor

The DataStoreCursor interface of the Data Store API represents a cursor that allows apps to iterate through a list of DataStoreTask objects representing the change history of the data store, for use when synchronizing the data.
API Data Store Data Store API Database DataStoreCursor Interface Non-standard Reference Référence Storage storage

DataStoreCursor.close()

The close() method of the DataStoreCursor interface makes a request to terminate the cursor.
API close Data Store Data Store API Database DataStoreCursor Method Reference Référence Storage storage