![javascript - How get coordinates of mouse click regardless of component viewport position - Salesforce Stack Exchange javascript - How get coordinates of mouse click regardless of component viewport position - Salesforce Stack Exchange](https://i.stack.imgur.com/uIAZE.png)
javascript - How get coordinates of mouse click regardless of component viewport position - Salesforce Stack Exchange
![html - How to show mouse coordinates over canvas using pure javascript in tooltip form? - Stack Overflow html - How to show mouse coordinates over canvas using pure javascript in tooltip form? - Stack Overflow](https://i.stack.imgur.com/aQs6H.jpg)
html - How to show mouse coordinates over canvas using pure javascript in tooltip form? - Stack Overflow
![Translating Viewport Coordinates Into Element-Local Coordinates Using Element.getBoundingClientRect() Translating Viewport Coordinates Into Element-Local Coordinates Using Element.getBoundingClientRect()](https://bennadel-cdn.com/resources/uploads/2018/translating-viewport-coordinates-to-element-local-position.png)
Translating Viewport Coordinates Into Element-Local Coordinates Using Element.getBoundingClientRect()
![javascript - How get coordinates of mouse click regardless of component viewport position - Salesforce Stack Exchange javascript - How get coordinates of mouse click regardless of component viewport position - Salesforce Stack Exchange](https://i.stack.imgur.com/mvaZj.png)