@locker/trusted-types
v0.26.2
Published
Lightning Web Security trusted types package.
Downloads
50,552
Keywords
Readme
@locker/trusted-types
Lightning Web Security Trusted Policy
This package is meant to be small.
Signing Example:
import { trusted } from '@locker/trusted-types'
script.src = trusted.createScriptURL('...');Create a policy using createPolicy utility.
import { createPolicy } from '@locker/trusted-types'
