onClose

abstract var onClose: Any?(source)

Callback fired when the component requests to be closed. The reason parameter can optionally be used to control the response to onClose.

Parameters

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