browser-selected-text
v4.0.0
Published
Get selected text.
Downloads
7
Readme
browser-selected-text
Get selected text.
Install
$ npm install --save browser-selected-text
Usage
var browserSelectedText = require('browser-selected-text');
// or
<script src="build/browser-selected-text.js"></script>
browserSelectedText();
//=> 'Text which you selected'
API
browserSelectedText() -> String
Selected text
Changelog
License
MIT © sanemat