A simple and lightweight selection, range and caret information library in native JavaScript, with an additional selection save & restore system. — http://n457.github.io/LightRange.js/
It would be really great if you could add an onSelectionEnd event. It would open up so much potential. For instance, you could add a Medium like popover above the selected text, when a user has finished making a selection.
It would be really great if you could add an onSelectionEnd event. It would open up so much potential. For instance, you could add a Medium like popover above the selected text, when a user has finished making a selection.
Great little library by the way!