cancel

fun SnOn<MdDialog>.cancel(action: (Event) -> Unit)(source)

Dispatched when the dialog has been canceled by clicking on the scrim or pressing Escape.