close

fun close(returnValue: String = definedExternally)(source)

Closes the dialog element.

The argument, if provided, provides a return value.

MDN Reference