Angular Clipboard Auto

Create a copy icon to your text element with one attribute.

The popular clipboard plugin expected the developer to pass text which needs to copied to function.

If we have 100 lines, sending entire text to a plugin doesn’t make sense to me.
So I decided to create a simple clipboard plugin which works automatically.
Discussion
Would you recommend this product?
2 Reviews5.0/5
It's awesome.
I have gone through various npm packages for copy clipboard with following features expectation in mind - Copy icon should get automatically created - Selection & Copy function should be generic - The code should reused and light weight - Minimal effort to implement Most of the npm plugins available didn’t fulfilled my expectation. The popular plugin expected the developer to create and pass the text which needs to copied to the copy to clipboard function. For me, this looks weird! If a paragraph is having 100 lines, sending those entire text to a plugin doesn’t make sense to me. So I decided to create a angular directive based on my expectation. Later, I published it as a separate npm package. And the package name is angular-clipboard-auto