updates properties of the item
update?: (id: string | number, newItem: object) => void;
Parameters:id: string | number
- the id of the item which needs to be updatednewItem: object
- a hash of properties which need to be updatedExample
component.data.update(123, { text:"New text" });
Related sample: Data. Update
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4