onOpen

abstract var onOpen: (event: SyntheticEvent<*, *>, reason: OpenReason) -> Unit?(source)

Callback fired when the component requests to be open.

Parameters

{string} reason Can be: "toggle", "focus", "mouseEnter".