Changes

Jump to: navigation, search

WebAPI/DataStore

12 bytes removed, 14:44, 13 January 2014
Interface
== Interface ==
typedef (DOMString or unsigned long) DataStoreKey;
interface DataStore : EventTarget {
// Returns the label of the DataSource.
// Promise<any>
Promise get(unsigned long DataStoreKey... id); // Promise<any> Promise get(sequence<unsigned long> id);
// Promise<void>
Promise put(any obj, unsigned long DataStoreKey id); // Promise<unsigned longDataStoreKey> Promise add(any obj, optional unsigned long DataStoreKey id);
// Promise<boolean>
Promise remove(unsigned long DataStoreKey id);
// Promise<void>
DataStoreOperation operation;
unsigned long DataStoreKey id;
any data;
};
dictionary DataStoreChangeEventInit : EventInit {
DOMString revisionId = "";
unsigned long DataStoreKey id = 0;
DOMString operation = "";
};
interface DataStoreChangeEvent : Event {
readonly attribute DOMString revisionId;
readonly attribute unsigned long DataStoreKey id;
readonly attribute DOMString operation;
};
Confirm
53
edits

Navigation menu