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

Method _onKeyDownCapture

packages/main/src/TableNavigation.ts:291–300  ·  view source on GitHub ↗
(e: KeyboardEvent)

Source from the content-addressed store, hash-verified

289 }
290
291 _onKeyDownCapture(e: KeyboardEvent) {
292 if (!this._table.loading) {
293 return;
294 }
295
296 if (isTabNext(e) || isTabPrevious(e)) {
297 this._focusElement(e.shiftKey ? this._table._beforeElement : this._table._afterElement);
298 e.stopImmediatePropagation();
299 }
300 }
301}
302
303export default TableNavigation;

Callers

nothing calls this directly

Calls 3

_focusElementMethod · 0.95
isTabNextFunction · 0.85
isTabPreviousFunction · 0.85

Tested by

no test coverage detected