@kanety/jquery-pick-text
v0.1.0
Published
Select and copy text from html element
Downloads
2
Maintainers
Readme
jquery-pick-text
Select and copy text from html element.
Dependencies
- jquery
Installation
Install from npm:
$ npm install @kanety/jquery-pick-text --save
Usage
<div id="target">sample text</div>
$('#target').pickText();
Options
Select only:
$('#target').pickText({ copy: false });
License
The library is available as open source under the terms of the MIT License.