(declarationContainer: LContainer, lView: LView)
| 288 | } |
| 289 | |
| 290 | export function detachMovedView(declarationContainer: LContainer, lView: LView) { |
| 291 | ngDevMode && assertLContainer(declarationContainer); |
| 292 | ngDevMode && |
| 293 | assertDefined( |
| 294 | declarationContainer[MOVED_VIEWS], |
| 295 | 'A projected view should belong to a non-empty projected views collection', |
| 296 | ); |
| 297 | const movedViews = declarationContainer[MOVED_VIEWS]!; |
| 298 | const declarationViewIndex = movedViews.indexOf(lView); |
| 299 | movedViews.splice(declarationViewIndex, 1); |
| 300 | } |
| 301 | |
| 302 | /** |
| 303 | * A standalone function which destroys an LView, |
no test coverage detected
searching dependent graphs…