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

Method _focusForwardElement

packages/compat/src/Table.ts:817–820  ·  view source on GitHub ↗
(isAfter: boolean)

Source from the content-addressed store, hash-verified

815 }
816
817 _focusForwardElement(isAfter: boolean) {
818 this._forwardingFocus = true;
819 this.shadowRoot!.querySelector<HTMLElement>(`#${this._id}-${isAfter ? "after" : "before"}`)!.focus();
820 }
821
822 _isForwardElement(element: HTMLElement): boolean {
823 const elementId = element.id;

Callers 4

_handleTabMethod · 0.95
_focusNextElementMethod · 0.95
_onForwardBeforeMethod · 0.95
_onForwardAfterMethod · 0.95

Calls 1

focusMethod · 0.45

Tested by

no test coverage detected