Skip to content

pantoken-root / formats/interactions/src / CommandHandler

型別別名: CommandHandler ​

CommandHandler = (command, source) => void

當 command 事件(或備用點擊)解析到目標時所呼叫的回調。

參數 ​

command ​

string

source ​

Element | null

回傳 ​

void