onClose

abstract override var onClose: (event: Any, reason: String) -> Unit?(source)

Callback fired when the component requests to be closed.

Parameters

{string} reason Can be: "escapeKeyDown", "backdropClick".