jquery-scrollbar-angular
TypeScript icon, indicating that this package has built-in type declarations

0.1.8 • Public • Published

JqueryScrollbarAngular

What is this?

Angular 14+ directive wrapper for jquery.scrollbar plugin.

Live demo

My personal site page

More live demo samples can be found on jquery-scrollbar author's page: https://gromo.github.io/jquery.scrollbar/demo/basic.html

Installation

npm i jquery-scrollbar-angular

In your angular.json add following scripts:

"scripts": [
  ....
  "./node_modules/jquery/dist/jquery.min.js",
  "./node_modules/jquery.scrollbar/jquery.scrollbar.min.js"
]

Import JqueryScrollbarAngularModule in your app.module.ts:

import { JqueryScrollbarAngularModule } from "jquery-scrollbar-angular";

... and add imported module to imports:

imports: [
    BrowserModule,
    AppRoutingModule,
    ...,
    JqueryScrollbarAngularModule
  ],

Start using imported directive, e.g.:

<div class="content" jquery-scroll-bar>
...
</div>

More documentation

For more information on jquery.scrollbar - see author's page on Github: jquery.scrollbar

/jquery-scrollbar-angular/

    Package Sidebar

    Install

    npm i jquery-scrollbar-angular

    Weekly Downloads

    1

    Version

    0.1.8

    License

    MIT

    Unpacked Size

    27.6 kB

    Total Files

    17

    Last publish

    Collaborators

    • pikus_spb