Last change
on this file since 188ee53 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 | */
|
---|
15 | export declare function isTrustedTypesSink(tagName: string, propName: string): boolean;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.