0.1.0 • Published 4 years ago

@kanety/jquery-pick-text v0.1.0

Weekly downloads
6
License
MIT
Repository
github
Last release
4 years ago

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.