* Marks a view and all of its ancestors dirty. * * This can be used to ensure an ChangeDetectionStrategy#OnPush component is * checked when it needs to be re-rendered but the two normal triggers haven't marked it * dirty (i.e. inputs haven't changed and events haven't fired in th
()
| 160 | * ``` |
| 161 | */ |
| 162 | markForCheck(): void { |
| 163 | markViewDirty(this._cdRefInjectingView || this._lView, NotificationSource.MarkForCheck); |
| 164 | } |
| 165 | |
| 166 | /** |
| 167 | * Detaches the view from the change detection tree. |