docs: remove mention of scheduleTick in markForCheck (#41845)

markForCheck doesn't call scheduleTick, thus I removed the comment which mentioned this.
PR Close #41845
This commit is contained in:
Cosmin Ababei 2021-04-28 09:13:43 +03:00 committed by Jessica Janiuk
parent 76c824b6da
commit 42a64f8676
1 changed files with 0 additions and 3 deletions

View File

@ -98,9 +98,6 @@ export class ViewRef<T> implements viewEngine_EmbeddedViewRef<T>, viewEngine_Int
/**
* Marks a view and all of its ancestors dirty.
*
* It also triggers change detection by calling `scheduleTick` internally, which coalesces
* multiple `markForCheck` calls to into one change detection run.
*
* This can be used to ensure an {@link ChangeDetectionStrategy#OnPush 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 the view).