Angular.js directive for selecting text content on click.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
.gitignore
.travis.yml
LICENSE
README.md
bower.json
karma.conf.js
package.json

README.md

angular-select-text

Build Status

Angular.js directive for selecting text content on click.

Why?

  • It's not possible to do a javascript only copy to clipboard.
  • Some people prefer not to add flash to their site to enable copy to clipboard.
  • The next best thing is to make it easier to select a block of content with 1 simple click

DEMO

Example Usage

<code select-text>Clicking this code block selects the entire text within the code block</code>

Running Tests

npm install -g grunt-cli bower
bower install
npm test