MCPcopy Create free account
hub / github.com/angular/components / createPolicy

Method createPolicy

src/cdk/private/trusted-types.ts:20–20  ·  view source on GitHub ↗
(
    policyName: string,
    policyOptions: {
      createHTML?: (input: string) => string;
    },
  )

Source from the content-addressed store, hash-verified

18
19interface TrustedTypePolicyFactory {
20 createPolicy(
21 policyName: string,
22 policyOptions: {
23 createHTML?: (input: string) => string;

Callers 1

getPolicyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected