( lContainer: LContainer, hostLView: LView, hostTNode: TNode, slotValue: any, )
| 837 | } |
| 838 | |
| 839 | function locateOrCreateAnchorNode( |
| 840 | lContainer: LContainer, |
| 841 | hostLView: LView, |
| 842 | hostTNode: TNode, |
| 843 | slotValue: any, |
| 844 | ): void { |
| 845 | if (!_populateDehydratedViewsInLContainer(lContainer, hostTNode, hostLView)) { |
| 846 | // Populating dehydrated views operation returned `false`, which indicates |
| 847 | // that the logic was running in client-only mode, this an anchor comment |
| 848 | // node should be created for this container. |
| 849 | createAnchorNode(lContainer, hostLView, hostTNode, slotValue); |
| 850 | } |
| 851 | } |
| 852 | |
| 853 | export function enableLocateOrCreateContainerRefImpl() { |
| 854 | _locateOrCreateAnchorNode = locateOrCreateAnchorNode; |
nothing calls this directly
no test coverage detected