(lView: LView, tNode: TNode | null)
| 751 | } |
| 752 | |
| 753 | export function getProjectionNodes(lView: LView, tNode: TNode | null): TNode | RNode[] | null { |
| 754 | if (tNode !== null) { |
| 755 | const componentView = lView[DECLARATION_COMPONENT_VIEW]; |
| 756 | const componentHost = componentView[T_HOST] as TElementNode; |
| 757 | const slotIdx = tNode.projection as number; |
| 758 | ngDevMode && assertProjectionSlots(lView); |
| 759 | return componentHost.projection![slotIdx]; |
| 760 | } |
| 761 | return null; |
| 762 | } |
| 763 | |
| 764 | export function getBeforeNodeForView( |
| 765 | viewIndexInContainer: number, |
no test coverage detected