antvis/G6

希望 tooltip 增加配置延迟显示功能 #5709

Anan-GitHub posted onGitHub

问题描述

tooltip 展示的数据需要从后端获取 不想鼠标一滑动就获取展示 tooltip ,当鼠标不动的一段时间后展示tooltip。希望 tooltip 增加配置延迟显示功能

重现链接

重现步骤

预期行为

平台

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


可以参考 Tooltip 的实现,实现一个自己业务需要的 Tooltip,和内置的区别应该在于事件触发的逻辑。 https://github.com/antvis/G6/blob/v5/packages/g6/src/plugins/tooltip.ts#L125-L131

posted by hustcc 12 months ago

Fund this Issue

$0.00
Funded

Pull requests