(elementOrDir: Element | {})
| 125 | * @publicApi |
| 126 | */ |
| 127 | export function getRootComponents(elementOrDir: Element | {}): {}[] { |
| 128 | const lView = readPatchedLView<{}>(elementOrDir); |
| 129 | return lView !== null ? [getRootContext(lView)] : []; |
| 130 | } |
| 131 | |
| 132 | /** |
| 133 | * Retrieves an `Injector` associated with an element, component or directive instance. |
no test coverage detected
searching dependent graphs…