Closedby
API reference › HTML › Interactive › Values › Closedby
Represents values for the HTML closedby attribute on <dialog> elements.
Experimental HTML attribute. Availability and behavior may vary across browsers.
See also: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/dialog#closedby.
| Case | Value | Description |
|---|---|---|
ANY | 'any' | Dialog can be dismissed by any supported mechanism (any). |
CLOSEREQUEST | 'closerequest' | Dialog can be dismissed by a close request (closerequest). |
NONE | 'none' | Dialog can only be dismissed by developer-defined mechanisms (none). |