Skip to content

pantoken-root / formats/interactions/src / CommandHandler

כינוי טיפוס: CommandHandler ​

CommandHandler = (command, source) => void

ה-callback מופעל כאשר אירוע command (או לחיצה חלופית) מוביל ליעד.

פרמטרים ​

command ​

string

source ​

Element | null

מחזיר ​

void