Skip to main content
Version: 1.x

@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