Skip to content

pantoken-root / formats/interactions/src / CommandHandler

Alias de type: CommandHandler ​

CommandHandler = (command, source) => void

Fonction de rappel appelée lorsqu'un événement command (ou un clic de secours) aboutit à une cible.

Paramètres ​

command ​

string

source ​

Element | null

Retourne ​

void