Auto Task API
Preparing search index...
scripts/tools/hotkeys
bindHotkey
Function bindHotkey
bindHotkey
(
shortcut
:
string
,
callback
:
()
=>
void
,
target
?:
Document
,
)
:
()
=>
void
绑定设置页面生成的修饰键与普通键组合。
Parameters
shortcut
:
string
快捷键配置。
callback
:
()
=>
void
接收处理结果的回调函数。
target
:
Document
= document
当前操作的目标;默认值为
document
。
Returns
()
=>
void
供调用方使用的函数。
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Auto Task API
Loading...
绑定设置页面生成的修饰键与普通键组合。