( tView: TView, deferBlockIndex: number, deferBlockConfig: TDeferBlockDetails, )
| 61 | |
| 62 | /** Stores a defer block static info in `TView.data`. */ |
| 63 | export function setTDeferBlockDetails( |
| 64 | tView: TView, |
| 65 | deferBlockIndex: number, |
| 66 | deferBlockConfig: TDeferBlockDetails, |
| 67 | ) { |
| 68 | const slotIndex = getDeferBlockDataIndex(deferBlockIndex); |
| 69 | ngDevMode && assertIndexInDeclRange(tView, slotIndex); |
| 70 | tView.data[slotIndex] = deferBlockConfig; |
| 71 | } |
| 72 | |
| 73 | export function getTemplateIndexForState( |
| 74 | newState: DeferBlockState, |
no test coverage detected
searching dependent graphs…