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

Function findRowInPath

packages/main/src/TableUtils.ts:15–17  ·  view source on GitHub ↗
(composedPath: Array<EventTarget>)

Source from the content-addressed store, hash-verified

13};
14
15const findRowInPath = (composedPath: Array<EventTarget>) => {
16 return composedPath.find((el: EventTarget) => el instanceof HTMLElement && el.hasAttribute("ui5-table-row")) as TableRow;
17};
18
19const findVerticalScrollContainer = (element: HTMLElement): HTMLElement => {
20 while (element) {

Callers 2

_onClickCaptureMethod · 0.85
_onclickCaptureMethod · 0.85

Calls 1

hasAttributeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…