Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
angular-off-click
Advanced tools
[![GitHub version](https://badge.fury.io/gh/TheSharpieOne%2Fangular-off-click.svg)](https://badge.fury.io/gh/TheSharpieOne%2Fangular-off-click) [![npm version](https://badge.fury.io/js/angular-off-click.svg)](https://badge.fury.io/js/angular-off-click) [!
It's like click, but when you don't click on your element.
-OR-
bower install angular-off-click --save
<script src="bower_components/angular-off-click/dist/angular-off-click.js"></script>
-THEN-
angular('yourAngularApp',['offClick']);
The off-click
attribute is the expression or function that will execute each time the user doesn't click on your element (or filter)
The optional off-click-if
attribute is an expression that will determine if the off-click
should trigger or not.
The included off-click-filter
directive allows you to pass a comma separated list of targets whose off-click
will not be triggered when the element off-click-filter
was applied to is clicked (gets parsed as javascript, so remember to wrap in single quotes).
If you pass off-click-filter="'*'"
that element will be a filter for every off-click on the page. The value is an angular expression and as such, you can also pass dynamic values like so: off-click-filter="'#' + myIdInScope"
and off-click-filter="myScopedVar"
.
FAQs
[![GitHub version](https://badge.fury.io/gh/TheSharpieOne%2Fangular-off-click.svg)](https://badge.fury.io/gh/TheSharpieOne%2Fangular-off-click) [![npm version](https://badge.fury.io/js/angular-off-click.svg)](https://badge.fury.io/js/angular-off-click) [!
The npm package angular-off-click receives a total of 184 weekly downloads. As such, angular-off-click popularity was classified as not popular.
We found that angular-off-click demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.