F2 icon indicating copy to clipboard operation
F2 copied to clipboard

F2 v5.0.30 tooltip 组件中的onShow \ onHide 事件都取消了吗?

Open LiuJing1014 opened this issue 2 years ago • 3 comments

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

监听提示信息的展示和消失

What does the proposed API look like?

和老版本v3.8.11 一致,直接使用即可

LiuJing1014 avatar Jan 02 '24 07:01 LiuJing1014

onChange 事件。提示信息修改回调的函数

tangying1027 avatar Jan 02 '24 08:01 tangying1027

onChange事件确实可以监听到信息的变化,一直拖拽tooltip的话能触发这个函数,但是它不包含onHide的效果,现在的需求是一直拖拽tolltip时,对应信息展示在图表上方指定区域中,当tooltip消失后,该区域信息清空

LiuJing1014 avatar Jan 02 '24 08:01 LiuJing1014

那后续会把这两个事件添加回来吗,毕竟 onChange 函数也没法完全覆盖 onShow 和onHide 这两个函数的场景

LiuJing1014 avatar Jan 02 '24 09:01 LiuJing1014