(tView: TView, lView: LView, tProjectionNode: TProjectionNode)
| 909 | * @param tProjectionNode node to project |
| 910 | */ |
| 911 | export function applyProjection(tView: TView, lView: LView, tProjectionNode: TProjectionNode) { |
| 912 | const renderer = lView[RENDERER]; |
| 913 | const parentRNode = getParentRElement(tView, tProjectionNode, lView); |
| 914 | const parentTNode = tProjectionNode.parent || lView[T_HOST]!; |
| 915 | let beforeNode = getInsertInFrontOfRNode(parentTNode, tProjectionNode, lView); |
| 916 | applyProjectionRecursive( |
| 917 | renderer, |
| 918 | WalkTNodeTreeAction.Create, |
| 919 | lView, |
| 920 | tProjectionNode, |
| 921 | parentRNode, |
| 922 | beforeNode, |
| 923 | ); |
| 924 | } |
| 925 | |
| 926 | /** |
| 927 | * `applyProjectionRecursive` performs operation on the projection specified by `action` (insert, |
no test coverage detected
searching dependent graphs…