# Decoding

> Represents values for the HTML/SVG decoding attribute.

[API reference](/docs/api/index.md) › [HTML Attribute](/docs/extensions/html-attribute/reference/index.md) › [Values](/docs/extensions/html-attribute/reference/values/index.md) › Decoding

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

Represents values for the HTML/SVG `decoding` attribute.

See also: <https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/decoding>.

## Cases

| Case | Value | Description |
| --- | --- | --- |
| <span id="case-ASYNC"></span>`ASYNC` | `'async'` | Decode the image asynchronously, after rendering and presenting the other content (`async`). |
| <span id="case-AUTO"></span>`AUTO` | `'auto'` | No preference for the decoding mode (`auto`). |
| <span id="case-SYNC"></span>`SYNC` | `'sync'` | Decode the image synchronously along with rendering the other content (`sync`). |