Skip to content

feature: support convert between two local DOM coord. And some refactor.#559

Merged
100pah merged 1 commit intomasterfrom
fix/dom-coord
Jan 13, 2020
Merged

feature: support convert between two local DOM coord. And some refactor.#559
100pah merged 1 commit intomasterfrom
fix/dom-coord

Conversation

@100pah
Copy link
Copy Markdown
Contributor

@100pah 100pah commented Jan 12, 2020

It usually use on the case:

We have [zrX, zrY]. we want to get the corresponding [left, top] of another DOM element (for example, document.body, or vise versa.
It can be used on the positioning of echarts tooltip which is appended to document.body.

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

Successfully merging this pull request may close these issues.

2 participants