Skip to content

pantoken-root / formats/interactions/src / CommandHandler

Псевдоним типа: CommandHandler ​

CommandHandler = (command, source) => void

Колбэк вызывается, когда событие command (или запасной клик) разрешается в целевой элемент.

Параметры ​

command ​

string

source ​

Element | null

Возвращаемое значение ​

void