(tView: TView, lView: LView, tProjectionNode: TProjectionNode)
| 986 | * @param tProjectionNode node to project |
| 987 | */ |
| 988 | export function applyProjection(tView: TView, lView: LView, tProjectionNode: TProjectionNode) { |
| 989 | const renderer = lView[RENDERER]; |
| 990 | const parentRNode = getParentRElement(tView, tProjectionNode, lView); |
| 991 | const parentTNode = tProjectionNode.parent || lView[T_HOST]!; |
| 992 | let beforeNode = getInsertInFrontOfRNode(parentTNode, tProjectionNode, lView); |
| 993 | applyProjectionRecursive( |
| 994 | renderer, |
| 995 | WalkTNodeTreeAction.Create, |
| 996 | lView, |
| 997 | tProjectionNode, |
| 998 | parentRNode, |
| 999 | beforeNode, |
| 1000 | ); |
| 1001 | } |
| 1002 | |
| 1003 | /** |
| 1004 | * `applyProjectionRecursive` performs operation on the projection specified by `action` (insert, |
no test coverage detected