flâneur — a map of the web's best reading

javascript - getClientRects() from window.getSelection() - Stack Overflow

stackoverflow.com · 884 words · saved by 1 readers

I've tried reading the official documentation, and I'm sure this is possible - I'm just struggling with how to do it. How can I fetch the coordinates, width and height from some text that's been

javascript - getClientRects() from window.getSelection() - Stack Overflow New: Stack Overflow For Agents. The next generation of knowledge exchange. Learn more Collectives™ on Stack Overflow Find centralized, trusted content and collaborate around the technologies you use most. Learn more about Collectives Stack Internal Knowledge at work Bring the best of human thought and AI automation together at your work. Explore Stack Internal getClientRects() from window.getSelection() Ask Question Asked 9 years, 4 months ago Modified 9 years, 4 months ago Viewed 676 times 2 I've tried reading the offic

Explore this link on the map →

saved by

related reading