@locker/trusted-types
v0.22.8
Published
Lightning Web Security trusted types package.
Downloads
8,618
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'