Skip to main content
Version: 1.x

@microsoft/fast-foundation > isTreeItemElement

isTreeItemElement() function

check if the item is a tree item

Signature:
export declare function isTreeItemElement(el: Element): el is HTMLElement;

Parameters

ParameterTypeDescription
elElement
Returns:

el is HTMLElement

Remarks

determines if element is an HTMLElement and if it has the role treeitem