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

Function _onSelectionChange

packages/main/src/TableRowBase.ts:106–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104 }
105
106 _onSelectionChange() {
107 const tableSelection = this._tableSelection!;
108 const selected = tableSelection.isMultiSelectable() ? !this._isSelected : true;
109 tableSelection.setSelected(this, selected, true);
110 }
111
112 _onkeydown(e: KeyboardEvent, eventOrigin: HTMLElement) {
113 if ((eventOrigin === this && this._isSelectable && isSpace(e)) || (eventOrigin === this._selectionCell && (isSpace(e) || isEnter(e)))) {

Callers

nothing calls this directly

Calls 2

isMultiSelectableMethod · 0.45
setSelectedMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…