* Synchronously perform change detection on a component (and possibly its sub-components). * * This function triggers change detection in a synchronous way on a component. * * @param component The component which the change detection should be performed on.
(component: {})
| 37 | * @param component The component which the change detection should be performed on. |
| 38 | */ |
| 39 | function detectChanges(component: {}): void { |
| 40 | const view = getComponentViewByInstance(component); |
| 41 | view[FLAGS] |= LViewFlags.RefreshView; |
| 42 | detectChangesInternal(view); |
| 43 | } |
no test coverage detected
searching dependent graphs…