MCPcopy Index your code
hub / github.com/angular/components / _markForCheck

Method _markForCheck

src/material/tooltip/tooltip.ts:1083–1085  ·  view source on GitHub ↗

* Marks that the tooltip needs to be checked in the next change detection run. * Mainly used for rendering the initial text before positioning a tooltip, which * can be problematic in components with OnPush change detection.

()

Source from the content-addressed store, hash-verified

1081 * can be problematic in components with OnPush change detection.
1082 */
1083 _markForCheck(): void {
1084 this._changeDetectorRef.markForCheck();
1085 }
1086
1087 _handleMouseLeave({relatedTarget}: MouseEvent) {
1088 if (!relatedTarget || !this._triggerElement.contains(relatedTarget as Node)) {

Callers 3

_onShowMethod · 0.95
_updateTooltipMessageMethod · 0.45
_setTooltipClassMethod · 0.45

Calls 1

markForCheckMethod · 0.80

Tested by

no test coverage detected