@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
Parameter | Type | Description |
---|---|---|
el | Element |
el is HTMLElement
Remarks
determines if element is an HTMLElement and if it has the role treeitem