@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) • 312 B
TypeScript
/**
* Checks if focused element is within given element.
*
* @param node
* @return true if focused node is contained within element
*/
export declare function tuiIsFocusedIn(node?: Node | null): boolean;
export {
/**
* @deprecated use {@link tuiIsFocusedIn}
*/
tuiIsFocusedIn as tuiIsNativeFocusedIn, };