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

Function isHeaderSelectionCell

packages/main/src/TableUtils.ts:11–13  ·  view source on GitHub ↗
(e: Event)

Source from the content-addressed store, hash-verified

9};
10
11const isHeaderSelectionCell = (e: Event) => {
12 return isSelectionCell(e) && e.composedPath().some((el: EventTarget) => el instanceof HTMLElement && el.hasAttribute("ui5-table-header-row"));
13};
14
15const findRowInPath = (composedPath: Array<EventTarget>) => {
16 return composedPath.find((el: EventTarget) => el instanceof HTMLElement && el.hasAttribute("ui5-table-row")) as TableRow;

Callers 2

_onClickCaptureMethod · 0.85
_onclickCaptureMethod · 0.85

Calls 2

isSelectionCellFunction · 0.85
hasAttributeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…