@internal call when keys are being pressed - use Esc to cancel
(e: KeyboardEvent)
| 132 | |
| 133 | /** @internal call when keys are being pressed - use Esc to cancel */ |
| 134 | protected _keyEvent(e: KeyboardEvent): void { |
| 135 | if (e.key === 'Escape') { |
| 136 | this.host.gridstackNode?.grid?.engine.restoreInitial(); |
| 137 | this._mouseUp(this.mouseDownEvent); |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | |
| 142 |
nothing calls this directly
no test coverage detected