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

怎样控制鼠标形状 #33

Closed
freepander opened this issue Nov 9, 2016 · 1 comment
Closed

怎样控制鼠标形状 #33

freepander opened this issue Nov 9, 2016 · 1 comment

Comments

@freepander
Copy link

当鼠标位于元素上时希望鼠标变为pointer, 怎么实现?

另外:文档能否提供搜索功能(>_<)

@simaQ
Copy link
Contributor

simaQ commented Nov 10, 2016

你好,

  1. 鼠标变为 pointer 这个,只要在 style 方法中传如 cursor: 'pointer' 即可,如下:
chart.point().position('x*y').style({
  cursor: 'pointer'
});
  1. 文档的搜索功能后续会添加上去的,这块确实有必要。

@dxq613 dxq613 closed this as completed Nov 18, 2016
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

3 participants