selection-texts
v1.0.4
Published
getSelection + DOM Range
Downloads
4
Readme
getSelectionTexts
getSelection support multiple ranges.
Installation
npm install selection-texts
Usage
var getSelectionTexts = require("selection-texts");
getSelectionTexts();// ["selected", "text"];
Tests
npm test
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License
MIT