ngx-clickselect
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

NgxClickselect

Angular Directive to bind both events click and select on element.On click it emit the clicked event and on selecting the particular text from element it will get selected and copied to your clipboard and will generate a appearable text Copied to Clipboard!! appear on your screen

Install

npm install ngx-clickselect

Examples

<div (ngxClickSelect)="click($event)"> {{Your Text / Elements}} </div>

Styling

If you want to style clipboard message you can create your html element and provide it in the component html with id "clipboard" For Exaample : -

<div id="clipboard"> I got Copied to Clipboard </div>

Package Sidebar

Install

npm i ngx-clickselect

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

73.3 kB

Total Files

23

Last publish

Collaborators

  • sushant.bansal