crossOrigin property

String? get crossOrigin

The crossOrigin property of the HTMLScriptElement interface reflects the settings for the script element. For classic scripts from other origins, this controls if full error information will be exposed. For module scripts, it controls the script itself and any script it imports. See CORS settings attributes for details.

Implementation

external String? get crossOrigin;
set crossOrigin (String? value)

Implementation

external set crossOrigin(String? value);