Community

Creating A Medium-Inspired Text Selection Directive In Angular 5.2.10

(Ben Nadel) The other week, I started experimenting with the browser’s Selection API, using it to draw outlines around the selected text based on the DOM (Document Object Model) Rectangles emitted by the embedded Range objects.




Facebooktwittergoogle_plusredditpinterestlinkedinmail