(tView: TView, tNode: TNode)
| 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 { |
| 57 | const slotIndex = getDeferBlockDataIndex(tNode.index); |
| 58 | ngDevMode && assertIndexInDeclRange(tView, slotIndex); |
| 59 | return tView.data[slotIndex] as TDeferBlockDetails; |
| 60 | } |
| 61 | |
| 62 | /** Stores a defer block static info in `TView.data`. */ |
| 63 | export function setTDeferBlockDetails( |
no test coverage detected
searching dependent graphs…