Licence
GPL-3.0
Version
1.1.2
Deps
1
Size
110 kB
Vulns
0
Weekly
0
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
Install via npm
npm install mindgaze-doublescrollMake sure you also have jQuery installed. Type
npm install jqueryif notIn your angular.json make sure that your application scripts include the jquery library
"scripts": [
"../node_modules/jquery/dist/jquery.js"
],
- Import the module in your Angular application app.module.ts
import { DoubleScrollModule } from 'mindgaze-doublescroll';
- 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.