(lView: LView, tNode: TNode)
| 34 | |
| 35 | /** Retrieves a defer block state from an LView, given a TNode that represents a block. */ |
| 36 | export function getLDeferBlockDetails(lView: LView, tNode: TNode): LDeferBlockDetails { |
| 37 | const tView = lView[TVIEW]; |
| 38 | const slotIndex = getDeferBlockDataIndex(tNode.index); |
| 39 | ngDevMode && assertIndexInDeclRange(tView, slotIndex); |
| 40 | return lView[slotIndex]; |
| 41 | } |
| 42 | |
| 43 | /** Stores a defer block instance state in LView. */ |
| 44 | export function setLDeferBlockDetails( |
no test coverage detected
searching dependent graphs…