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

Method _onShow

src/material/tooltip/tooltip.ts:1102–1105  ·  view source on GitHub ↗

* Callback for when the timeout in this.show() gets completed. * This method is only needed by the mdc-tooltip, and so it is only implemented * in the mdc-tooltip, not here.

()

Source from the content-addressed store, hash-verified

1100 * in the mdc-tooltip, not here.
1101 */
1102 protected _onShow(): void {
1103 this._isMultiline = this._isTooltipMultiline();
1104 this._markForCheck();
1105 }
1106
1107 /** Whether the tooltip text has overflown to the next line */
1108 private _isTooltipMultiline() {

Callers 1

_toggleVisibilityMethod · 0.95

Calls 2

_isTooltipMultilineMethod · 0.95
_markForCheckMethod · 0.95

Tested by

no test coverage detected