source: trip-planner-front/node_modules/@angular/compiler/src/schema/trusted_types_sinks.d.ts@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 670 bytes
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8/**
9 * isTrustedTypesSink returns true if the given property on the given DOM tag is a Trusted Types
10 * sink. In that case, use `ElementSchemaRegistry.securityContext` to determine which particular
11 * Trusted Type is required for values passed to the sink:
12 * - SecurityContext.HTML corresponds to TrustedHTML
13 * - SecurityContext.RESOURCE_URL corresponds to TrustedScriptURL
14 */
15export declare function isTrustedTypesSink(tagName: string, propName: string): boolean;
Note: See TracBrowser for help on using the repository browser.