HTMLDialogElement

The interface for <dialog>. Extends HTMLElementElement.

Reflected properties

All setters are guarded and throw NoModificationAllowedError on a read-only document.

Property Attribute Type Notes
open open boolean (presence) Reading reflects whether the attribute is present; writing false removes it, any other value sets it present.

See also