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

Method hideLater

src/component/tooltip/TooltipRichContent.ts:197–209  ·  view source on GitHub ↗
(time?: number)

Source from the content-addressed store, hash-verified

195 }
196
197 hideLater(time?: number) {
198 if (this._show && !(this._inContent && this._enterable) && !this._alwaysShowContent) {
199 if (time) {
200 this._hideDelay = time;
201 // Set show false to avoid invoke hideLater multiple times
202 this._show = false;
203 this._hideTimeout = setTimeout(zrUtil.bind(this.hide, this), time) as any;
204 }
205 else {
206 this.hide();
207 }
208 }
209 }
210
211 isShow() {
212 return this._show;

Callers 1

setContentMethod · 0.45

Calls 1

hideMethod · 0.95

Tested by

no test coverage detected