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

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

initial commit

  • Property mode set to 100644
File size: 1.2 KB
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 */
8import { SchemaMetadata, SecurityContext } from '../core';
9export declare abstract class ElementSchemaRegistry {
10 abstract hasProperty(tagName: string, propName: string, schemaMetas: SchemaMetadata[]): boolean;
11 abstract hasElement(tagName: string, schemaMetas: SchemaMetadata[]): boolean;
12 abstract securityContext(elementName: string, propName: string, isAttribute: boolean): SecurityContext;
13 abstract allKnownElementNames(): string[];
14 abstract getMappedPropName(propName: string): string;
15 abstract getDefaultComponentElementName(): string;
16 abstract validateProperty(name: string): {
17 error: boolean;
18 msg?: string;
19 };
20 abstract validateAttribute(name: string): {
21 error: boolean;
22 msg?: string;
23 };
24 abstract normalizeAnimationStyleProperty(propName: string): string;
25 abstract normalizeAnimationStyleValue(camelCaseProp: string, userProvidedProp: string, val: string | number): {
26 error: string;
27 value: string;
28 };
29}
Note: See TracBrowser for help on using the repository browser.