CrossOrigin class Null safety
Class that represents the
crossorigin content attribute on media elements, which is a CORS settings attribute.
It could be used with ScriptHtmlTagAttributes and CSSLinkHtmlTagAttributes
when fetching a resource
<link> or a
<script> (or resources fetched by the
- ANONYMOUS → const CrossOrigin
CORS requests for this element will have the credentials flag set to 'same-origin'.
- USE_CREDENTIALS → const CrossOrigin
CORS requests for this element will have the credentials flag set to 'include'.