MCPcopy Index your code
hub / github.com/UI5/webcomponents / onInputKeyDown

Method onInputKeyDown

packages/main/src/DynamicDateRange.ts:462–473  ·  view source on GitHub ↗
(e: KeyboardEvent)

Source from the content-addressed store, hash-verified

460 }
461
462 onInputKeyDown(e: KeyboardEvent) {
463 if (isShow(e)) {
464 e.preventDefault();
465 if (this.open) {
466 if (!isF4(e)) {
467 this._toggleAndFocusInput();
468 }
469 } else {
470 this._toggleAndFocusInput();
471 }
472 }
473 }
474
475 _toggleAndFocusInput() {
476 this._togglePicker();

Callers

nothing calls this directly

Calls 3

_toggleAndFocusInputMethod · 0.95
isShowFunction · 0.85
isF4Function · 0.85

Tested by

no test coverage detected