* OnCellDblClick callback. * * @param {MouseEvent} event The mouse event object. * @param {object} coords The cell coordinates.
(event: MouseEvent, coords: { isCell: () => boolean } | null)
| 349 | * @param {object} coords The cell coordinates. |
| 350 | */ |
| 351 | #onCellDblClick(event: MouseEvent, coords: { isCell: () => boolean } | null) { |
| 352 | if (coords?.isCell()) { |
| 353 | if (this.hot.getShortcutManager().isCtrlPressed()) { |
| 354 | this.clearActiveEditor(); |
| 355 | } else { |
| 356 | this.openEditor(null, event, true); |
| 357 | } |
| 358 | } |
| 359 | } |
| 360 | |
| 361 | /** |
| 362 | * Destroy the instance. |
no test coverage detected