1.0.0 • Published 3 years ago
@kanety/pick-text v1.0.0
pick-text
Select and copy text from html element.
Installation
Install from npm:
$ npm install @kanety/pick-text --save
Usage
<div id="target">sample text</div>
import PickText from '@kanety/pick-text';
PickText.run('#target');
Options
Disable copy:
PickText.run('#target', { copy: false });
License
The library is available as open source under the terms of the MIT License.
1.0.0
3 years ago