(e: KeyboardEvent, eventOrigin: HTMLElement)
| 279 | } |
| 280 | |
| 281 | _onkeyup(e: KeyboardEvent, eventOrigin: HTMLElement) { |
| 282 | if (!this._table) { |
| 283 | return; |
| 284 | } |
| 285 | |
| 286 | if (!eventOrigin.hasAttribute("ui5-table-row") || !this._rangeSelection || !e.shiftKey) { |
| 287 | // Stop range selection if a) Shift is relased or b) the event target is not a row |
| 288 | this._stopRangeSelection(); |
| 289 | } |
| 290 | |
| 291 | if (this._rangeSelection) { |
| 292 | this._rangeSelection.shiftPressed = e.shiftKey; |
| 293 | } |
| 294 | } |
| 295 | |
| 296 | _onClickCapture(e: MouseEvent) { |
| 297 | if (!this._table || this.mode !== TableSelectionMode.Multiple) { |
nothing calls this directly
no test coverage detected