SafeHtml
Ce contenu n’est pas encore disponible dans votre langue.
Defined in: src/http/Html.ts:38
A string already known to be safe HTML — the brand the html tagged template produces and interpolates verbatim. Treat constructing one directly (or via rawHtml) as asserting “I have made this safe”: the brand is an anti-accident guard, not an anti-malice one.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SafeHtml(
value):SafeHtml
Defined in: src/http/Html.ts:39
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”SafeHtml
Properties
Section titled “Properties”
readonlyvalue:string
Defined in: src/http/Html.ts:39
Methods
Section titled “Methods”toString()
Section titled “toString()”toString():
string
Defined in: src/http/Html.ts:40
Returns
Section titled “Returns”string
