# Closedby

> Represents values for the HTML closedby attribute on <dialog> elements.

[API reference](/docs/api/index.md) › [HTML](/docs/extensions/html/reference/index.md) › [Interactive](/docs/extensions/html/reference/interactive/index.md) › [Values](/docs/extensions/html/reference/interactive/values/index.md) › Closedby

| enum | `UIAwesome\Html\Interactive\Values\Closedby` |
| --- | --- |
| Backed by | `string` |
| Source | [`src/Interactive/Values/Closedby.php`](https://github.com/ui-awesome/html/blob/main/src/Interactive/Values/Closedby.php#L14) |

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>.

## Cases

| Case | Value | Description |
| --- | --- | --- |
| <span id="case-ANY"></span>`ANY` | `'any'` | Dialog can be dismissed by any supported mechanism (`any`). |
| <span id="case-CLOSEREQUEST"></span>`CLOSEREQUEST` | `'closerequest'` | Dialog can be dismissed by a close request (`closerequest`). |
| <span id="case-NONE"></span>`NONE` | `'none'` | Dialog can only be dismissed by developer-defined mechanisms (`none`). |