
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
angular2-clipboard
Advanced tools
Angular directive for clipboard.js by @zenorocha
It works with angular version 2.0.0 and up
To make more sense with the future versioning scheme of Angular, the directive selector is now rename to xngClipboard
You can get it on npm.
npm install angular2-clipboard --save
1. npm i
2. npm run build
npm run commit
to commit, and CI will do the rest.BREAKING CHANGE
keyword in the comment to trigger major releasenpm run semantic-release
locally to make sure the version number is push as expected.If you use webpack, check /demo/webpack
. Try to use the same version of webpack that demo used, if you run into any error.
If you don't need AoT support, you can stick with 1.4.0. 2.x is just trying to solve AoT issue.
The latest version (2.0.12) should work with AoT, please check /demo/angular2-aot-webpack to see how to make it work.
Kudos to Thierry Templier This project is base on his answer on StackOverflow Kudos to blacksonic AoT's demo is based on his project
FAQs
angular 2 clipboard
The npm package angular2-clipboard receives a total of 2 weekly downloads. As such, angular2-clipboard popularity was classified as not popular.
We found that angular2-clipboard demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.