onOpenChange

abstract var onOpenChange: (event: SyntheticEvent<*, *>?, open: Boolean) -> Unit?(source)

Callback fired when the component requests to be opened or closed.