1
|
/**
|
2
|
* @license
|
3
|
* Copyright Google Inc. 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
|
import { TagContentType, TagDefinition } from './tags';
|
9
|
export declare class HtmlTagDefinition implements TagDefinition {
|
10
|
private closedByChildren;
|
11
|
closedByParent: boolean;
|
12
|
requiredParents: {
|
13
|
[key: string]: boolean;
|
14
|
};
|
15
|
parentToAdd: string;
|
16
|
implicitNamespacePrefix: string | null;
|
17
|
contentType: TagContentType;
|
18
|
isVoid: boolean;
|
19
|
ignoreFirstLf: boolean;
|
20
|
canSelfClose: boolean;
|
21
|
constructor({closedByChildren, requiredParents, implicitNamespacePrefix, contentType, closedByParent, isVoid, ignoreFirstLf}?: {
|
22
|
closedByChildren?: string[];
|
23
|
closedByParent?: boolean;
|
24
|
requiredParents?: string[];
|
25
|
implicitNamespacePrefix?: string;
|
26
|
contentType?: TagContentType;
|
27
|
isVoid?: boolean;
|
28
|
ignoreFirstLf?: boolean;
|
29
|
});
|
30
|
requireExtraParent(currentParent: string): boolean;
|
31
|
isClosedByChild(name: string): boolean;
|
32
|
}
|
33
|
export declare function getHtmlTagDefinition(tagName: string): HtmlTagDefinition;
|