Skip to content

pantoken-root / formats/interactions/src / CommandHandler

타입 별칭: CommandHandler ​

CommandHandler = (command, source) => void

콜백은 command 이벤트(또는 대체 클릭)가 대상으로 판명될 때 호출됩니다.

매개변수 ​

command ​

string

source ​

Element | null

반환값 ​

void