TrustedTypePolicy
The TrustedTypePolicy interface of the Trusted Types API defines a group of functions which create TrustedType objects.
Properties
Functions
Link copied to clipboard
The createHTML() method of the TrustedTypePolicy interface creates a TrustedHTML object using a policy created by TrustedTypePolicyFactory.createPolicy().
Link copied to clipboard
The createScript() method of the TrustedTypePolicy interface creates a TrustedScript object using a policy created by TrustedTypePolicyFactory.createPolicy().
Link copied to clipboard
The createScriptURL() method of the TrustedTypePolicy interface creates a TrustedScriptURL object using a policy created by TrustedTypePolicyFactory.createPolicy().