refactor(ivy): move LView.template and component templates to TView (#24300)
PR Close #24300
This commit is contained in:

committed by
Victor Berchet

parent
d814eaad95
commit
57eacf4b5a
@ -126,11 +126,6 @@ export interface LView {
|
||||
*/
|
||||
tView: TView;
|
||||
|
||||
/**
|
||||
* For dynamically inserted views, the template function to refresh the view.
|
||||
*/
|
||||
template: ComponentTemplate<{}>|null;
|
||||
|
||||
/**
|
||||
* - For embedded views, the context with which to render the template.
|
||||
* - For root view of the root component the context contains change detection data.
|
||||
@ -212,6 +207,12 @@ export interface TView {
|
||||
*/
|
||||
readonly id: number;
|
||||
|
||||
/**
|
||||
* The template function used to refresh the view of dynamically created views
|
||||
* and components. Will be null for inline views.
|
||||
*/
|
||||
template: ComponentTemplate<{}>|null;
|
||||
|
||||
/**
|
||||
* Pointer to the `TNode` that represents the root of the view.
|
||||
*
|
||||
|
Reference in New Issue
Block a user