update

updates properties of the item

void update(string|number id,object config);

Parameters

idstring|numberthe id of the item which needs to be updated
configobjecta hash of properties which need to be updated

Example

component.data.update(123, { text:"New text" });

See also
Back to top