Skip to content

pantoken-root / formats/interactions/src / CommandHandler

类型别名: CommandHandler ​

CommandHandler = (command, source) => void

当 command 事件(或回退点击)解析到目标时调用的回调。

参数 ​

command ​

string

source ​

Element | null

返回值 ​

void