@locker/trusted-types
v0.22.7
Published
Lightning Web Security trusted types package.
Downloads
10,302
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'