AngularJS Directive For Selecting Text Content On Click

Author: eddywashere
Official Page: Go to website
Publish Date: April 29, 2015
License: MIT

Description:

An AngularJS directive which allows you to select the entire text within a block element by clicking.

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

Preview:

AngularJS Directive For Selecting Text Content On Click


You Might Be Interested In:

Add Comment