Skip to content
PHP Ecosystem
Explore

Decoding

API reference › HTML Attribute › Values › Decoding

enumUIAwesome\Html\Attribute\Values\Decoding
Backed bystring
Sourcesrc/Values/Decoding.php

Represents values for the HTML/SVG decoding attribute.

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

CaseValueDescription
ASYNC'async'Decode the image asynchronously, after rendering and presenting the other content (async).
AUTO'auto'No preference for the decoding mode (auto).
SYNC'sync'Decode the image synchronously along with rendering the other content (sync).