Package-level declarations

Types

Link copied to clipboard
typealias CreateHTMLCallback = (input: String) -> String?
Link copied to clipboard
typealias CreateScriptCallback = (input: String) -> String?
Link copied to clipboard
typealias CreateScriptURLCallback = (input: String) -> String?
Link copied to clipboard
open class TrustedHTML : HtmlSource

The TrustedHTML interface of the Trusted Types API represents a string that a developer can insert into an injection sink that will render it as HTML.

Link copied to clipboard
open class TrustedScript

The TrustedScript interface of the Trusted Types API represents a string with an uncompiled script body that a developer can insert into an injection sink that might execute the script.

Link copied to clipboard
open class TrustedScriptURL

The TrustedScriptURL interface of the Trusted Types API represents a string that a developer can insert into an injection sink that will parse it as a URL of an external script.

Link copied to clipboard

The TrustedTypePolicy interface of the Trusted Types API defines a group of functions which create TrustedType objects.

Link copied to clipboard

The TrustedTypePolicyFactory interface of the Trusted Types API creates policies and allows the verification of Trusted Type objects against created policies.

Link copied to clipboard

Properties

Link copied to clipboard