(tView: TView, lView: LView, tProjectionNode: TProjectionNode)
| 962 | * @param tProjectionNode node to project |
| 963 | */ |
| 964 | export function applyProjection(tView: TView, lView: LView, tProjectionNode: TProjectionNode) { |
| 965 | const renderer = lView[RENDERER]; |
| 966 | const parentRNode = getParentRElement(tView, tProjectionNode, lView); |
| 967 | const parentTNode = tProjectionNode.parent || lView[T_HOST]!; |
| 968 | let beforeNode = getInsertInFrontOfRNode(parentTNode, tProjectionNode, lView); |
| 969 | applyProjectionRecursive( |
| 970 | renderer, |
| 971 | WalkTNodeTreeAction.Create, |
| 972 | lView, |
| 973 | tProjectionNode, |
| 974 | parentRNode, |
| 975 | beforeNode, |
| 976 | ); |
| 977 | } |
| 978 | |
| 979 | /** |
| 980 | * `applyProjectionRecursive` performs operation on the projection specified by `action` (insert, |
no test coverage detected