( lView: LView, deferBlockIndex: number, lDetails: LDeferBlockDetails, )
| 42 | |
| 43 | /** Stores a defer block instance state in LView. */ |
| 44 | export function setLDeferBlockDetails( |
| 45 | lView: LView, |
| 46 | deferBlockIndex: number, |
| 47 | lDetails: LDeferBlockDetails, |
| 48 | ) { |
| 49 | const tView = lView[TVIEW]; |
| 50 | const slotIndex = getDeferBlockDataIndex(deferBlockIndex); |
| 51 | ngDevMode && assertIndexInDeclRange(tView, slotIndex); |
| 52 | lView[slotIndex] = lDetails; |
| 53 | } |
| 54 | |
| 55 | /** Retrieves static info about a defer block, given a TView and a TNode that represents a block. */ |
| 56 | export function getTDeferBlockDetails(tView: TView, tNode: TNode): TDeferBlockDetails { |
no test coverage detected
searching dependent graphs…