( lContainer: LContainer, hostLView: LView, hostTNode: TNode, slotValue: any, )
| 860 | } |
| 861 | |
| 862 | function locateOrCreateAnchorNode( |
| 863 | lContainer: LContainer, |
| 864 | hostLView: LView, |
| 865 | hostTNode: TNode, |
| 866 | slotValue: any, |
| 867 | ): void { |
| 868 | if (!_populateDehydratedViewsInLContainer(lContainer, hostTNode, hostLView)) { |
| 869 | // Populating dehydrated views operation returned `false`, which indicates |
| 870 | // that the logic was running in client-only mode, this an anchor comment |
| 871 | // node should be created for this container. |
| 872 | createAnchorNode(lContainer, hostLView, hostTNode, slotValue); |
| 873 | } |
| 874 | } |
| 875 | |
| 876 | export function enableLocateOrCreateContainerRefImpl() { |
| 877 | _locateOrCreateAnchorNode = locateOrCreateAnchorNode; |
nothing calls this directly
no test coverage detected