( lContainer: LContainer, hostLView: LView, hostTNode: TNode, slotValue: any, )
| 814 | } |
| 815 | |
| 816 | function locateOrCreateAnchorNode( |
| 817 | lContainer: LContainer, |
| 818 | hostLView: LView, |
| 819 | hostTNode: TNode, |
| 820 | slotValue: any, |
| 821 | ): void { |
| 822 | if (!_populateDehydratedViewsInLContainer(lContainer, hostTNode, hostLView)) { |
| 823 | // Populating dehydrated views operation returned `false`, which indicates |
| 824 | // that the logic was running in client-only mode, this an anchor comment |
| 825 | // node should be created for this container. |
| 826 | createAnchorNode(lContainer, hostLView, hostTNode, slotValue); |
| 827 | } |
| 828 | } |
| 829 | |
| 830 | export function enableLocateOrCreateContainerRefImpl() { |
| 831 | _locateOrCreateAnchorNode = locateOrCreateAnchorNode; |
nothing calls this directly
no test coverage detected
searching dependent graphs…