getIndex

gets the current position of an item

void getIndex(string id);

Parameters

idstringthe ID of an item

Example

toolbar.data.getIndex("add_btn");

Back to top