Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kanety/jquery-pick-text
https://github.com/kanety/jquery-pick-text
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kanety/jquery-pick-text
- Owner: kanety
- License: mit
- Created: 2019-12-01T09:59:10.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-23T02:22:15.000Z (almost 4 years ago)
- Last Synced: 2024-12-25T04:04:43.290Z (23 days ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
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
```html
sample text
``````javascript
$('#target').pickText();
```### Options
Select only:
```javascript
$('#target').pickText({ copy: false });
```## License
The library is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).