Skip to content

Angular.js directive for selecting text content on click.

License

Notifications You must be signed in to change notification settings

sathify/angular-select-text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

Angular.js directive for selecting text content on click.

Resources

License

Stars

Watchers

Forks

Packages

No packages published