( viewIndexInContainer: number, lContainer: LContainer, )
| 732 | } |
| 733 | |
| 734 | export function getBeforeNodeForView( |
| 735 | viewIndexInContainer: number, |
| 736 | lContainer: LContainer, |
| 737 | ): RNode | null { |
| 738 | const nextViewIndex = CONTAINER_HEADER_OFFSET + viewIndexInContainer + 1; |
| 739 | if (nextViewIndex < lContainer.length) { |
| 740 | const lView = lContainer[nextViewIndex] as LView; |
| 741 | const firstTNodeOfView = lView[TVIEW].firstChild; |
| 742 | if (firstTNodeOfView !== null) { |
| 743 | return getFirstNativeNode(lView, firstTNodeOfView); |
| 744 | } |
| 745 | } |
| 746 | |
| 747 | return lContainer[NATIVE]; |
| 748 | } |
| 749 | |
| 750 | /** |
| 751 | * Performs the operation of `action` on the node. Typically this involves inserting or removing |
no test coverage detected
searching dependent graphs…