feat(tooltip): add appendTo option to allow customizing tooltip container#18436
feat(tooltip): add appendTo option to allow customizing tooltip container#18436plainheart merged 19 commits intoapache:masterfrom
appendTo option to allow customizing tooltip container#18436Conversation
|
Thanks for your contribution! Document changes are required in this PR. Please also make a PR to apache/echarts-doc for document changes and update the issue id in the PR description. When the doc PR is merged, the maintainers will remove the |
plainheart
left a comment
There was a problem hiding this comment.
Thanks for your contribution! I've left some comments. BTW, it would be better to add some test cases for this feature.
…ainer => container
7cd4240 to
19f68c5
Compare
|
@plainheart Got it. Thanks~ |
ae8cf31 to
368d0a8
Compare
|
The changes brought by this PR can be previewed at: https://echarts.apache.org/examples/editor?version=PR-18436@2864cd1 |
appendTo option to allow customized tooltip containerappendTo option to allow customizing tooltip container
|
Congratulations! Your PR has been merged. Thanks for your contribution! 👍 |
Brief Information
This pull request is in the type of:
What does this PR do?
允许用户指定tooltip的容器
Fixed issues
Details
Before: What was the problem?
Tooltip只能插入到在当前DOM节点或者document.body中
After: How does it behave after the fixing?
用户可以指定tooltip的父节点
Document Info
One of the following should be checked.
Misc
ZRender Changes
Related test cases or examples to use the new APIs
N.A.
Others
Merging options
Other information