Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Anan-GitHub opened this issue May 8, 2024 · 1 comment
Closed

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

Anan-GitHub opened this issue May 8, 2024 · 1 comment

Comments

@Anan-GitHub
Copy link

问题描述

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

重现链接

重现步骤

预期行为

平台

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@hustcc
Copy link
Member

hustcc commented May 13, 2024

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

@hustcc hustcc closed this as completed May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants