fires when a data collection is modified
change: (id?: string | number, status?: string, updatedItem?: object) => void;
Parameters:id: string | number
- the id of an itemstatus: string
- the status of the operation:"add"|"update"|"remove"updatedItem: object
- the object of an updated itemExample
component.data.events.on("change", function(id,status,updatedItem){
console.log("An item is updated");
});
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