getFocusItem()
returns the object of an item in focus
getFocusItem(): object;
Returns:
The object of an item in focus.
Example
const focus = list.getFocusItem();
info
From v8.0, focusing of items isn't available when key navigation is disabled. Use methods of the Selection object.