changes the id of an element of a data collection
changeId(id: string | number, newId?: string | number, silent?: boolean): void;
Parameters:id: string | number
- the old id of an itemnewId: string | number
- optional, the new id; auto-generated if not setsilent: boolean
- true, to prevent changing the id; otherwise, falseExample
component.data.changeId("1", "22");
Change log:
added in v6.4
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