Skip to Content

KeyCode

GitHub 上的源代码 

¥Source on GitHub 

KeyCode 类型用于指定键盘按键代码或组合键,例如删除节点或启用多选。它可以是单个字符串,也可以是代表按键代码的字符串数组。

¥The KeyCode type is used to specify keyboard key codes or combinations, such as deleting nodes or enabling multi-selection. It can be a single string or an array of strings representing key codes.

type KeyCode = string | Array<string>;
Last updated on