docs(ivy): API doc tweaks (#25258)

PR Close #25258
This commit is contained in:
Victor Berchet 2018-08-01 15:32:18 -07:00 committed by Igor Minar
parent 20b453008f
commit d46a961509
2 changed files with 7 additions and 6 deletions

View File

@ -70,11 +70,10 @@ export interface LNode {
readonly native: RComment|RElement|RText|null;
/**
* If regular LElementNode, then `data` will be null.
* If LElementNode with component, then `data` contains LView.
* If LViewNode, then `data` contains the LView.
* If regular LElementNode, LTextNode, and LProjectionNode then `data` will be null.
* If LElementNode with component, then `data` contains LViewData.
* If LViewNode, then `data` contains the LViewData.
* If LContainerNode, then `data` contains LContainer.
* If LProjectionNode, then `data` contains LProjection.
*/
readonly data: LViewData|LContainer|null;

View File

@ -134,9 +134,11 @@ export interface LViewData extends Array<any> {
[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.
* - `null` otherwise.
* - For non-root components, the context is the component instance,
* - For inline views, the context is null.
*/
[CONTEXT]: {}|RootContext|null;