Skip to main content

getItem()

gets an item by its ID

getItem(id: Id): T;

Parameters:

id: string - the ID of an item

Returns:

An item object.

Example

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