Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

HTMLDialogElement.close()

3 tags 1 category

The close() method of the HTMLDialogElement interface closes the dialog. An optional string may be passed as an argument, updating the returnValue of the dialog.

The close event is fired after the dialog has closed. Unlike when calling HTMLDialogElement.requestClose(), the close operation cannot be canceled.

Inputs: returnValue A string that replaces the existing value of HTMLDialogElement.returnValue.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…