1.1.0 • Published 1 year ago
@kanety/pick-text v1.1.0
pick-text
Select and copy text from html element.
Installation
Install from npm:
$ npm install @kanety/pick-text --saveUsage
<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.