update()
changes an item
update(id: string | number, item: object): void;
Parameters:
id: string | number
- the ID of an itemitem: object
- new properties for an item
Example
toolbar.data.update("add_btn",{ value:"Add new" });
changes an item
id: string | number
- the ID of an itemitem: object
- new properties for an itemExample
toolbar.data.update("add_btn",{ value:"Add new" });