onHighlightChange

abstract var onHighlightChange: (event: SyntheticEvent<*, *>, option: Value?, reason: AutocompleteHighlightChangeReason) -> Unit?(source)

Callback fired when the highlight option changes.

Parameters

{string} reason Can be: "keyboard", "auto", "mouse", "touch".