MCPcopy Index your code
hub / github.com/UI5/webcomponents / _getFocusableElements

Function _getFocusableElements

packages/main/src/ListItem.ts:598–601  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

596 }
597
598 _getFocusableElements(): HTMLElement[] {
599 const focusDomRef = this.getFocusDomRef()!;
600 return getTabbableElements(focusDomRef);
601 }
602
603 _indexOfActiveElement(focusables: HTMLElement[]): number {
604 const activeElement = getActiveElement() as HTMLElement;

Callers

nothing calls this directly

Calls 2

getTabbableElementsFunction · 0.85
getFocusDomRefMethod · 0.45

Tested by

no test coverage detected