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

Method _hide

src/component/tooltip/TooltipView.ts:1034–1046  ·  view source on GitHub ↗
(dispatchAction: ExtensionAPI['dispatchAction'])

Source from the content-addressed store, hash-verified

1032 }
1033
1034 private _hide(dispatchAction: ExtensionAPI['dispatchAction']) {
1035 // Do not directly hideLater here, because this behavior may be prevented
1036 // in dispatchAction when showTip is dispatched.
1037
1038 // FIXME
1039 // duplicated hideTip if manuallyHideTip is called from dispatchAction.
1040 this._lastDataByCoordSys = null;
1041 this._cbParamsList = null;
1042 dispatchAction({
1043 type: 'hideTip',
1044 from: this.uid
1045 });
1046 }
1047
1048 dispose(ecModel: GlobalModel, api: ExtensionAPI) {
1049 if (env.node || !api.getDom()) {

Callers 3

_initGlobalListenerMethod · 0.95
manuallyHideTipMethod · 0.95
_tryShowMethod · 0.95

Calls 1

dispatchActionFunction · 0.50

Tested by

no test coverage detected