@taiga-ui/cdk
Version:
Base library for creating Angular components and applications using Taiga UI principles regarding of actual visual appearance
13 lines (12 loc) • 522 B
TypeScript
/**
* Checks for signs that element can be focused with keyboard. tabIndex above 0 is ignored to
* only target natural focus order. Not checking the possibility of an element to
* be focused, for example element can have display: none applied to it or any other
* circumstances could prevent actual focus.
*/
export declare function tuiIsKeyboardFocusable(element: Element): boolean;
export {
/**
* @deprecated use {@link tuiIsNativeKeyboardFocusable}
*/
tuiIsKeyboardFocusable as tuiIsNativeKeyboardFocusable, };