nonce property

String get nonce
inherited

The nonce property of the HTMLElement interface returns the cryptographic number used once that is used by Content Security Policy to determine whether a given fetch will be allowed to proceed.

In later implementations, elements only expose their nonce attribute to scripts (and not to side-channels like CSS attribute selectors).

Implementation

external String get nonce;
set nonce (String value)
inherited

Implementation

external set nonce(String value);