
Security News
libxml2 Maintainer Ends Embargoed Vulnerability Reports, Citing Unsustainable Burden
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
wts-scroll
Advanced tools
The Angular Custom Scrollbar Library is a powerful tool for enhancing the scrolling experience within your Angular applications. This library allows you to create highly customizable and stylish scrollbars, giving you full control over the look and feel o
The Angular Custom Scrollbar Library is a powerful tool for enhancing the scrolling experience within your Angular applications. This library allows you to create highly customizable and stylish scrollbars, giving you full control over the look and feel of your application's scrollable content.
npm install --save wts-scroll
import { Component } from "@angular/core";
import { WtsScrollComponent, ScrollBarOptions } from "wts-scroll";
@Component({
selector: "<COMPONENT-SELECTOR>",
standalone: true,
imports: [WtsScrollComponent],
templateUrl: "<COMPONENT>.html",
styleUrl: "<COMPONENT>.scss",
})
export class MyComponent {
@ViewChild("customScrollBar") private customScrollBar!: WtsScrollComponent;
protected itemsCount = 10;
onReachEnd(): void {
// this.itemsCount < 40 && (this.itemsCount += this.itemsCount);
console.log('onReachEnd');
}
<div class="wts-scroll">
<div style="height: 100%; width: 100%;">
<wts-scroll class="_scroll" (onReachEnd)="onReachEnd()">
<ul>
@for (item of [].constructor(itemsCount); track $index) {
<li>
<div>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Aliquam, eaque deserunt veritatis iusto fugiat
autem consequuntur.
</div>
<div>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Aliquam, eaque deserunt veritatis iusto fugiat
autem consequuntur.
</div>
</li>
}
</ul>
</wts-scroll>
</div>
</div>
FAQs
The Angular Custom Scrollbar Library is a powerful tool for enhancing the scrolling experience within your Angular applications. This library allows you to create highly customizable and stylish scrollbars, giving you full control over the look and feel o
We found that wts-scroll demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
Research
Security News
Socket investigates hidden protestware in npm packages that blocks user interaction and plays the Ukrainian anthem for Russian-language visitors.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.