* Gets the current LView that is rendered out in a defer block. * @param details Instance information about the block.
(lContainer: LContainer)
| 309 | * @param details Instance information about the block. |
| 310 | */ |
| 311 | function getRendererLView(lContainer: LContainer): LView | null { |
| 312 | // Defer block containers can only ever contain one view. |
| 313 | // If they're empty, it means that nothing is rendered. |
| 314 | if (lContainer.length <= CONTAINER_HEADER_OFFSET) { |
| 315 | return null; |
| 316 | } |
| 317 | |
| 318 | const lView = lContainer[CONTAINER_HEADER_OFFSET]; |
| 319 | ngDevMode && assertLView(lView); |
| 320 | return lView; |
| 321 | } |
| 322 | |
| 323 | /** |
| 324 | * Checks if a value looks like RepeaterMetadata by duck-typing. |
no test coverage detected
searching dependent graphs…