isElementFocusable
Checks if the element is focusable.
Presentation
function isElementFocusable (element: HTMLElement): boolean;
Returns
boolean
-True if the element is focusable, otherwise false.
Parameters
Name | Type | Description |
---|---|---|
element | HTMLElement | @param element The element to check for focusability. |