feat(ivy): runtime i18n (#24037)

PR Close #24037
This commit is contained in:
Olivier Combe
2018-06-18 16:55:43 +02:00
committed by Miško Hevery
parent cb31381734
commit 84272e2227
10 changed files with 2011 additions and 23 deletions

View File

@ -100,6 +100,13 @@ export interface LNode {
*/
pNextOrParent: LNode|null;
/**
* If this node is part of an i18n block, pointer to the first child after translation
* If this node is not part of an i18n block, this field is null.
*/
// TODO(kara): Remove this when removing pNextOrParent
pChild: LNode|null;
/**
* Pointer to the corresponding TNode object, which stores static
* data about this node.
@ -342,6 +349,12 @@ export interface TNode {
* A pointer to a TContainerNode created by directives requesting ViewContainerRef
*/
dynamicContainerNode: TNode|null;
/**
* If this node is part of an i18n block, it indicates whether this container is part of the DOM
* If this node is not part of an i18n block, this field is null.
*/
detached: boolean|null;
}
/** Static data for an LElementNode */