Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ng-scroller

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-scroller

Custom scroll bar component with customization options

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14
decreased by-12.5%
Maintainers
1
Weekly downloads
 
Created
Source

ng-scroller

A Custom scroll bar component in angular with customization options

see Stackblitz Demo here

Angular compatibility

Angular Versionpackage version
angular 2.x.x - 11.x.x0.0.1 and above

Usage steps

  • Run npm i ng-scroller --save in command prompt from root of your project folder
  • Add import to App Module like this import { NgScrollbarModule } from 'ng-scroller';
  • Add to imports array in app module
   imports: [
    BrowserModule,
    NgScrollbarModule
   ],
  • Then add <ng-scrollbar> component to where you want to add scroll
     <ng-scrollbar [options]="options"></ng-scrollbar>
    

options is optional

Customization

Options can accept multiple classes that will be added to parent containers. so pass appropriate classes

   interface Options {
    containerClass?: string;
    progressBarClass?: string;
}

Browsers support

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Vivaldi
Vivaldi
IE11, Edgelast 8 versionslast 8 versionslast 5 versions

Author 🔮

Edison
Edison Augusthy

💻

Keywords

FAQs

Package last updated on 04 Sep 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc