mindgaze-doublescroll
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

Double scroll bars for Angular

Double horizontal scroll bars for Angular applications. With the 1.1.0 version, support has been added for Angular 6.

Usage

  1. Install via npm npm install mindgaze-doublescroll

  2. Make sure you also have jQuery installed. Type npm install jquery if not

  3. In your angular.json make sure that your application scripts include the jquery library

"scripts"[
   "../node_modules/jquery/dist/jquery.js"
],
  1. Import the module in your Angular application app.module.ts

import { DoubleScrollModule } from 'mindgaze-doublescroll';

  1. Use it in your html templates
<mdz-double-scroll>
  ......
</mdz-double-scroll>

Important

In your scrollable content, make sure to use display: table css styling in order for it to properly detect the size and adapt the layout.

Hope this is useful for you folks!

Package Sidebar

Install

npm i mindgaze-doublescroll

Weekly Downloads

38

Version

1.1.2

License

GPL-3.0

Unpacked Size

113 kB

Total Files

24

Last publish

Collaborators

  • afivan