Skip to content
PHP Ecosystem
Explore

Crossorigin

API reference › HTML Attribute › Values › Crossorigin

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

Represents values for the HTML crossorigin attribute.

See also: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin.

CaseValueDescription
ANONYMOUS'anonymous'anonymous - CORS requests for this element will have the credentials flag set to ‘same-origin’.
USE_CREDENTIALS'use-credentials'use-credentials - CORS requests for this element will have the credentials flag set to ‘include’.