MCPcopy Create free account
hub / github.com/UI5/webcomponents / deepActive

Method deepActive

packages/base/src/features/F6Navigation.ts:222–228  ·  view source on GitHub ↗
(root: DocumentOrShadowRoot)

Source from the content-addressed store, hash-verified

220 }
221
222 deepActive(root: DocumentOrShadowRoot): Element | null {
223 if (root?.activeElement?.shadowRoot?.activeElement) {
224 return this.deepActive(root.activeElement.shadowRoot);
225 }
226
227 return root.activeElement;
228 }
229
230 destroy() {
231 this.removeEventListeners();

Callers 2

findContainerMethod · 0.95
setSelectedGroupMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected