Skip to content

CommandInputKeyEvent

This content is for v1.3.1. Switch to the latest version for up-to-date documentation.

Defined in: presentation/cli/components/bookmark-cli-command-form.tsx:33

入力欄key eventとして扱う最小shapeです。

readonly ctrlKey: boolean

Defined in: presentation/cli/components/bookmark-cli-command-form.tsx:37

Control keyが押されているかです。


readonly currentTarget: CommandInputElement

Defined in: presentation/cli/components/bookmark-cli-command-form.tsx:41

入力要素です。


readonly key: string

Defined in: presentation/cli/components/bookmark-cli-command-form.tsx:45

押されたkey名です。


readonly preventDefault: () => void

Defined in: presentation/cli/components/bookmark-cli-command-form.tsx:53

Browser標準のkey動作を止めます。

void


readonly shiftKey: boolean

Defined in: presentation/cli/components/bookmark-cli-command-form.tsx:49

Shift keyが押されているかです。

Last updated: