Skip to main content

@microsoft/fast-foundation > TreeItem > focusItem

TreeItem.focusItem() method

Places document focus on a tree item

Signature:
static focusItem(el: HTMLElement): void;

Parameters

ParameterTypeDescription
elHTMLElementthe element to focus
Returns:

void