New in 1.34.0 (BETA)

update(attributes)

Updates data and of the corresponding instance of the DataItem. The attributes are provided to the corresponding update callback.

Params

  • attributes (Object) – a plain JS object containing key-value pairs for the data to be updated. The keys must be valid identifiers.

Returns

promise (Promise) – the returned promise resolves with undefined as soon as the corresponding promise returned from the update callback is resolved.