TrustedTypePolicy
The TrustedTypePolicy interface of the Trusted Types API defines a group of functions which create TrustedType objects.
Properties
Functions
Link copied to clipboard
fun createHTML(input: String, vararg arguments: ERROR CLASS: Symbol not found for JsAny??): TrustedHTML
The createHTML() method of the TrustedTypePolicy interface creates a TrustedHTML object using a policy created by TrustedTypePolicyFactory.createPolicy().
Link copied to clipboard
fun createScript(input: String, vararg arguments: ERROR CLASS: Symbol not found for JsAny??): TrustedScript
The createScript() method of the TrustedTypePolicy interface creates a TrustedScript object using a policy created by TrustedTypePolicyFactory.createPolicy().
Link copied to clipboard
fun createScriptURL(input: String, vararg arguments: ERROR CLASS: Symbol not found for JsAny??): TrustedScriptURL
The createScriptURL() method of the TrustedTypePolicy interface creates a TrustedScriptURL object using a policy created by TrustedTypePolicyFactory.createPolicy().