Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kanety/jquery-pick-text


https://github.com/kanety/jquery-pick-text

Last synced: 8 days ago
JSON representation

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).