Copy anything to clipboard through button or event

Downloads in past


1.0.14 years ago4 years agoMinified + gzip package size for angular-6-clipboard in KB


Angular 6 Clipboard
One thing that comes up quite often in website building is the ability to copy some text to clipboard, without the user selecting it or hitting the appropriate key combination on their keyboard. If you are looking for something same then you are in the right place.

Here are the 3 simple steps to use it in your angular project

Step 1:

Instalitions ```sh $ npm i angular-6-clipboard ```

Step 2:

Importing to component ```javascript import { ngCopy } from 'angular-6-clipboard'; ```

Step 3:

Usage ```javascript ngCopy("copy this text to clipboard ..."); // Hurrah!!! this text has been copied to clipboard. ``` Please feel free to contact if you have any problem while using this package, I always like to help and solve the problems of other people. Email: Website: