MCPcopy
hub / github.com/apache/echarts / hideLater

Method hideLater

src/component/tooltip/TooltipHTMLContent.ts:531–543  ·  view source on GitHub ↗
(time?: number)

Source from the content-addressed store, hash-verified

529 }
530
531 hideLater(time?: number) {
532 if (this._show && !(this._inContent && this._enterable) && !this._alwaysShowContent) {
533 if (time) {
534 this._hideDelay = time;
535 // Set show false to avoid invoke hideLater multiple times
536 this._show = false;
537 this._hideTimeout = setTimeout(bind(this.hide, this), time) as any;
538 }
539 else {
540 this.hide();
541 }
542 }
543 }
544
545 isShow() {
546 return this._show;

Callers 2

constructorMethod · 0.45
manuallyHideTipMethod · 0.45

Calls 1

hideMethod · 0.95

Tested by

no test coverage detected