onClose
abstract var onClose: (event: SyntheticEvent<*, *>, reason: AutocompleteCloseReason) -> Unit?(source)
Callback fired when the popup requests to be closed. Use in controlled mode (see open).
Parameters
{string} reason Can be: "toggleInput"
, "escape"
, "selectOption"
, "removeOption"
, "blur"
.