MCPcopy
hub / github.com/angular/components / _isTooltipVisible

Method _isTooltipVisible

src/material/tooltip/tooltip.ts:493–495  ·  view source on GitHub ↗

Returns true if the tooltip is currently visible to the user

()

Source from the content-addressed store, hash-verified

491
492 /** Returns true if the tooltip is currently visible to the user */
493 _isTooltipVisible(): boolean {
494 return !!this._tooltipInstance && this._tooltipInstance.isVisible();
495 }
496
497 /** Create the overlay config and position strategy */
498 private _createOverlay(origin?: {x: number; y: number}): OverlayRef {

Callers 6

messageMethod · 0.95
showMethod · 0.95
toggleMethod · 0.95
MatTooltipClass · 0.95
tooltip.spec.tsFile · 0.80

Calls 1

isVisibleMethod · 0.45

Tested by

no test coverage detected