MCPcopy
hub / github.com/alibaba/lowcode-engine / bind

Method bind

packages/types/src/shell/api/hotkey.ts:20–20  ·  view source on GitHub ↗

* 绑定快捷键 * bind hotkey/hotkeys, * @param combos 快捷键,格式如:['command + s'] 、['ctrl + shift + s'] 等 * @param callback 回调函数 * @param action

(
      combos: string[] | string,
      callback: IPublicTypeHotkeyCallback,
      action?: string,
    )

Source from the content-addressed store, hash-verified

18 * @param action
19 */
20 bind(
21 combos: string[] | string,
22 callback: IPublicTypeHotkeyCallback,
23 action?: string,

Callers 15

bindMethod · 0.65
constructorMethod · 0.65
initFunction · 0.65
parseDataFunction · 0.65
BaseRendererClass · 0.65
renderMethod · 0.65
constructorMethod · 0.65
combineTransducerFunction · 0.65
node.add.test.tsFile · 0.65
mountInstanceMethod · 0.65
buildComponentsMethod · 0.65

Implementers 1

Hotkeypackages/shell/src/api/hotkey.ts

Calls

no outgoing calls

Tested by

no test coverage detected