parent
20b453008f
commit
d46a961509
|
@ -70,11 +70,10 @@ export interface LNode {
|
||||||
readonly native: RComment|RElement|RText|null;
|
readonly native: RComment|RElement|RText|null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If regular LElementNode, then `data` will be null.
|
* If regular LElementNode, LTextNode, and LProjectionNode then `data` will be null.
|
||||||
* If LElementNode with component, then `data` contains LView.
|
* If LElementNode with component, then `data` contains LViewData.
|
||||||
* If LViewNode, then `data` contains the LView.
|
* If LViewNode, then `data` contains the LViewData.
|
||||||
* If LContainerNode, then `data` contains LContainer.
|
* If LContainerNode, then `data` contains LContainer.
|
||||||
* If LProjectionNode, then `data` contains LProjection.
|
|
||||||
*/
|
*/
|
||||||
readonly data: LViewData|LContainer|null;
|
readonly data: LViewData|LContainer|null;
|
||||||
|
|
||||||
|
|
|
@ -134,9 +134,11 @@ export interface LViewData extends Array<any> {
|
||||||
[CLEANUP]: any[]|null;
|
[CLEANUP]: any[]|null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* - For embedded views, the context with which to render the template.
|
* - For dynamic views, this is the context with which to render the template (e.g.
|
||||||
|
* `NgForContext`), or `{}` if not defined explicitly.
|
||||||
* - For root view of the root component the context contains change detection data.
|
* - For root view of the root component the context contains change detection data.
|
||||||
* - `null` otherwise.
|
* - For non-root components, the context is the component instance,
|
||||||
|
* - For inline views, the context is null.
|
||||||
*/
|
*/
|
||||||
[CONTEXT]: {}|RootContext|null;
|
[CONTEXT]: {}|RootContext|null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue