Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.