Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@mr-scroll/angular
Advanced tools
The best custom scroll for the web. This is the angular wrapper.
The best custom scroll for the web.
This is the angular wrapper. Check here (root of this repo) for an overview on mr-scroll.
npm i @mr-scroll/core @mr-scroll/angular
Angular 10 and above is supported.
Note: If you're using css-theming, check the css-theming support package.
Import the global CSS styles in your angular.json
, in projects>angular>architect>build>options>styles:
"styles": [
"node_modules/@mr-scroll/core/dist/styles.css",
//...
]
Import ScrollModule
into your module.
Use mr-scroll
component:
<mr-scroll>
Content
</mr-scroll>
For more general usage info check the README in the root of this repo.
NOTE: The scrolled
event is the only event that won't trigger change detection. This is by design as it's fired a lot. If you need change detection when you react to it, you can do this easily by using NgZone
:
// Inject NgZone in your component.
constructor(private _zone: NgZone) { }
_onScrolled() {
_zone.Run(() => {
// Handle the event.
});
}
FAQs
The best custom scroll for the web. This is the angular wrapper.
The npm package @mr-scroll/angular receives a total of 1 weekly downloads. As such, @mr-scroll/angular popularity was classified as not popular.
We found that @mr-scroll/angular 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.