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

Method _handleBodyInteraction

src/material/tooltip/tooltip.ts:1072–1076  ·  view source on GitHub ↗

* Interactions on the HTML body should close the tooltip immediately as defined in the * material design spec. * https://material.io/design/components/tooltips.html#behavior

()

Source from the content-addressed store, hash-verified

1070 * https://material.io/design/components/tooltips.html#behavior
1071 */
1072 _handleBodyInteraction(): void {
1073 if (this._closeOnInteraction) {
1074 this.hide(0);
1075 }
1076 }
1077
1078 /**
1079 * Marks that the tooltip needs to be checked in the next change detection run.

Callers 1

_createOverlayMethod · 0.80

Calls 1

hideMethod · 0.95

Tested by

no test coverage detected