getItem

gets an item by its ID

void getItem(string id);

Parameters

idstringthe ID of an item

Example

var add_btn = toolbar.data.getItem("add_btn");

Back to top