Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@ng-doc/ui-kit / Class

NgDocFocusUtils

No documentation has been provided.

Static Methods

static

focusClosestElement()

No documentation has been provided.

Presentation
static focusClosestElement(initial: HTMLElement, root: Node, forward: boolean = true): void;
Parameters
NameTypeDescription
initial
HTMLElement
root
Node
forward
boolean
Returns
void
static

getClosestKeyboardFocusable()

No documentation has been provided.

Presentation
static getClosestKeyboardFocusable(initial: HTMLElement, root: Node, forward: boolean = true): HTMLElement | null;
Parameters
NameTypeDescription
initial
HTMLElement
root
Node
forward
boolean
Returns
HTMLElement | null
static

isNativeKeyboardFocusable()

No documentation has been provided.

Presentation
static isNativeKeyboardFocusable(element: Element): boolean;
Parameters
NameTypeDescription
element
Element
Returns
boolean