getItem()
returns the object of a selected item
getItem(): object | array;
Returns:
Either an object of a selected item, or an array of selected items.
Example
const item = component.selection.getItem();
// -> {…}
returns the object of a selected item
Either an object of a selected item, or an array of selected items.
Example
const item = component.selection.getItem();
// -> {…}