Keymap.isModEvent method
Keymap › isModEvent
Official
Translates an event into the type of pane that should open. Returns 'tab' if the modifier key Cmd/Ctrl is pressed OR if this is a middle-click MouseEvent. Returns 'split' if Cmd/Ctrl+Alt is pressed. Returns 'window' if Cmd/Ctrl+Alt+Shift is pressed.Signature:
isModEvent(evt?: UserEvent | null | undefined): PaneType | booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| evt? | UserEvent | null | undefined | *(Optional)* |
Since: 0.16.0