trust
Marks an HTML string for direct rendering.
Table of contents
Category
Value
Import
jsimport { trust } from "valyrian.js";Public signature
ts(htmlString: string): (string | void | VnodeWithDom | null)[]Parameters
tshtmlString: stringResult
ts(string | void | VnodeWithDom | null)[]Observable effects
Parses the supplied string through innerHTML without sanitizing it.