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

Method _startRangeSelection

packages/main/src/TableSelection.ts:342–350  ·  view source on GitHub ↗

* Start the range selection and initialises the range selection state * @param row starting row * @private

(row: TableRow, selected: boolean, isMouse = false)

Source from the content-addressed store, hash-verified

340 * @private
341 */
342 _startRangeSelection(row: TableRow, selected: boolean, isMouse = false) {
343 this._rangeSelection = {
344 selected,
345 isUp: null,
346 rows: [row],
347 isMouse,
348 shiftPressed: false,
349 };
350 }
351
352 /**
353 * Handles the range selection

Callers 2

_onkeydownMethod · 0.95
_onClickCaptureMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected