{"_id":"om-perfect-scrollbar","_rev":"3-e4efd5b3447a40d3b5d9f40d74127a73","name":"om-perfect-scrollbar","dist-tags":{"latest":"2.0.1"},"versions":{"1.5.1":{"name":"om-perfect-scrollbar","version":"1.5.1","description":"Minimalistic but perfect custom scrollbar plugin","author":{"name":"Oleh Mishyn","email":"mishyn.uk@gmail.com","url":"https://github.com/omishyn"},"keywords":["frontend","scroll","scrollbar"],"repository":{"type":"git","url":"git+https://github.com/omishyn/perfect-scrollbar.git"},"bugs":{"url":"https://github.com/omishyn/perfect-scrollbar/issues"},"jspm":{"main":"dist/perfect-scrollbar.common.js","registry":"jspm"},"main":"dist/perfect-scrollbar.common.js","module":"dist/perfect-scrollbar.esm.js","typings":"types/perfect-scrollbar.d.ts","style":"css/perfect-scrollbar.css","devDependencies":{"chokidar-cli":"^2.1.0","prettier":"^1.19.1","rollup":"^1.27.8","rollup-plugin-babel":"^4.3.3","rollup-plugin-babel-minify":"^9.1.1","rollup-plugin-buble":"^0.19.8"},"scripts":{"test":"npm run format:lint && npm run build","rollup":"rollup --config rollup.config.js --sourcemap","build":"npm run clean && npm run rollup","clean":"rm -rf dist","watch":"npm run build && SHELL=/bin/bash chokidar 'src/**/*.js' -c 'npm run format && npm run build'","format":"prettier --write --single-quote --trailing-comma es5 'src/**/*.js'","format:lint":"prettier -l --single-quote --trailing-comma es5 'src/**/*.js'","release":"./release"},"license":"MIT","homepage":"https://github.com/omishyn/perfect-scrollbar#readme","gitHead":"d54a73de203e4f4c9ba8bbf05ba5979a1daa7822","_id":"om-perfect-scrollbar@1.5.1","_nodeVersion":"10.13.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-pauCkVtgkVu34u2XYQ1SRpFBumxVuXyjtyW1VDKJSovZhS4BmM0uJ+BxzI2WgUu/b6MSo95UIHPcdmzMR9JSoQ==","shasum":"9642924a62cebc858b4317e075a6ba683ac3d714","tarball":"https://registry.npmjs.org/om-perfect-scrollbar/-/om-perfect-scrollbar-1.5.1.tgz","fileCount":27,"unpackedSize":500459,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfq9pCCRA9TVsSAnZWagAAZVoP/23YysLv6lOjTDpzc7DS\nfCvsoYMnBexdYKv/ZrpDLCq2lWZ1qVc+W+Z6LgIFbCuGqheQiETdRynuyyIb\nPaPoksuDCCm1HXsWS1Cp5asz/njSkfJJH2YjBcj0y2YL/CG6zhWlvkjCA0nD\nm5ANYO3QpVNhWN3K2jtMgxkd9P+FuXIHX/EqxB/aEKR4rp8WafYmHzCVX01v\n1FUEUV40aw27cU2Nd1ckDxGYt9ghSx0i7ErAnCEf/wIrscuu59KoPrWbx2GP\nlwTbc6Cczw9a868EfQaQAsgSIxemIva7veFyCbPMYEJqMolczJ77SN3dDlcs\nitrrpUgqQRg/Pa17kyFqVJ0TyQuxr8p0xElXXQ9Ioy1YP5NCFh5JnWAfNEil\n0j6e9JpTP7fhCamV/Zc2ejxEXgU6T17oocBvRnZHIv6aAHLcCJLpF7XxzH9A\nPtHFh/wnEPykVSVVVQj1c8FZT3avxh6E2ednq8zbZ9Z+JZVt86tyK4PiCq4/\nRO7/S1m3frb5rylx66qJUiuSsQfbeziX3I8GQ0L2z+3lQl+oox5GEiYmwxln\nchqgxoIm314L8MlEOlTDSjIYJlFTr4Dh0blpD+s3qUIMtX6v5SqdvczH7Zmg\nCgWJhA+jSSdLrLN292yNe40p4UbEQX1w6KLQfyqbHRhwhrh0UODmZYq7/xvl\ne8Al\r\n=GkVR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjn53n3jonqU6//EgqQlOGz48E6eXKDasGn8tiSPMKHQIgKWmnQMYrkHLYe50grJ3cIyVVYYTcIoIfE6J+h/MhBd0="}]},"_npmUser":{"name":"oleh.mishyn","email":"mishyn.uk@gmail.com"},"directories":{},"maintainers":[{"name":"oleh.mishyn","email":"mishyn.uk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/om-perfect-scrollbar_1.5.1_1605098050265_0.367253366748743"},"_hasShrinkwrap":false},"1.5.2":{"name":"om-perfect-scrollbar","version":"1.5.2","description":"Minimalistic but perfect custom scrollbar plugin","author":{"name":"Oleh Mishyn","email":"mishyn.uk@gmail.com","url":"https://github.com/omishyn"},"keywords":["frontend","scroll","scrollbar"],"repository":{"type":"git","url":"git+https://github.com/omishyn/perfect-scrollbar.git"},"bugs":{"url":"https://github.com/omishyn/perfect-scrollbar/issues"},"jspm":{"main":"dist/perfect-scrollbar.common.js","registry":"jspm"},"main":"dist/perfect-scrollbar.common.js","module":"dist/perfect-scrollbar.esm.js","typings":"types/perfect-scrollbar.d.ts","style":"css/perfect-scrollbar.css","devDependencies":{"chokidar-cli":"^2.1.0","prettier":"^1.19.1","rollup":"^1.27.8","rollup-plugin-babel":"^4.3.3","rollup-plugin-babel-minify":"^9.1.1","rollup-plugin-buble":"^0.19.8"},"scripts":{"test":"npm run format:lint && npm run build","rollup":"rollup --config rollup.config.js --sourcemap","build":"npm run clean && npm run rollup","clean":"rm -rf dist","watch":"npm run build && SHELL=/bin/bash chokidar 'src/**/*.js' -c 'npm run format && npm run build'","format":"prettier --write --single-quote --trailing-comma es5 'src/**/*.js'","format:lint":"prettier -l --single-quote --trailing-comma es5 'src/**/*.js'","release":"./release"},"license":"MIT","homepage":"https://github.com/omishyn/perfect-scrollbar#readme","gitHead":"a664a82f150dbc4155e380b4d134e64c5ac03135","_id":"om-perfect-scrollbar@1.5.2","_nodeVersion":"10.13.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-ifvlIPcqFiU1nquuOkqByIZsdg7NyFhs82swIyuAtpzwXhJtUOvqQYG9MEsT63Cv1cnybxHR/y699OaeGjmEIQ==","shasum":"e1bd2a6581faf4fcb56ec1a58e26a790aefa1ed6","tarball":"https://registry.npmjs.org/om-perfect-scrollbar/-/om-perfect-scrollbar-1.5.2.tgz","fileCount":27,"unpackedSize":501918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgR36iCRA9TVsSAnZWagAASuMP/2S/2qjdVqUas+9ooTeD\nCfzAk5DzqROxmkuTO7uel7CJ0NK4bX9iK9WG5H/EdRNjp4rH09bMpXdFj0qt\neBK0NgVAYR36sn7C44/wjEbYsgxfouIU4oFULKOvlBJX5hmwbDXzlnW0b1Sm\n5Fm8PGMI2ch4mdD+o5zo72/6ECT3RBzEqhTOCiyI+EH2A78vzSf6xihVMz3i\nYEZH21GKUzARgykVsCCuqbF/5JDevphgPFfUDf0VexmxWxd5PXwPhQkGlUEw\n7VUP1QO4ntNQp7W3UDOXZ/X+34n0SefNu5USxH7tpGZvx0eQ1xfpsv1Ehgo8\na4CumvOK3st/Jt56H6+vdVRFkJUbyTmJrfEYkW47m5FW333YWjQL/oVhOg+v\nvGShhfFArN1lZ80pJPsmGrcffAbLsrRo5M4CFpvUfjSnO4TmT2LTdBkmiQ/q\n6zUKGveQJ6g+2hpu+Z73p0ne8XgZjdP/pLi31XgoAIw4U8ea1T1AQAJk8M1D\nKZbaxm4Ik4fTd/jqtTaoaVMZ1u/AucO8UMPPfHbdkUg5X5++QbikdvkGL9KS\nlIj508I4AHQvV0yP1jPILV/FLyjbQowMvsbvTXaQSEWdXuH9i2OQ6xgkcpDx\nzO4gUWFw06d9jKy2oO+RB53bx2o1gGeC1BhWhFnrAhGam/CB/LvABE1Zf0uo\nA2VM\r\n=EBS/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGS6e8DAa00n7DaMdMbTf2um4nXs3sOJFF8Tf7a2llqQAiEA3306Vmvz0vTDn4+6N340CraJML202aonZk0te3jdfUA="}]},"_npmUser":{"name":"oleh.mishyn","email":"mishyn.uk@gmail.com"},"directories":{},"maintainers":[{"name":"oleh.mishyn","email":"mishyn.uk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/om-perfect-scrollbar_1.5.2_1615298209882_0.519042828253425"},"_hasShrinkwrap":false},"2.0.1":{"name":"om-perfect-scrollbar","version":"2.0.1","description":"Minimalistic but perfect custom scrollbar plugin","author":{"name":"AMC BI Team & OM","email":"mishyn.uk@gmail.com","url":"https://github.com/omishyn"},"keywords":["frontend","scroll","scrollbar"],"repository":{"type":"git","url":"git+https://github.com/omishyn/perfect-scrollbar.git"},"bugs":{"url":"https://github.com/omishyn/perfect-scrollbar/issues"},"jspm":{"main":"dist/perfect-scrollbar.common.js","registry":"jspm"},"main":"dist/perfect-scrollbar.common.js","module":"dist/perfect-scrollbar.esm.js","typings":"types/perfect-scrollbar.d.ts","style":"css/perfect-scrollbar.css","devDependencies":{"chokidar-cli":"^2.1.0","prettier":"^1.19.1","rollup":"^1.27.8","rollup-plugin-babel":"^4.3.3","rollup-plugin-babel-minify":"^9.1.1","rollup-plugin-buble":"^0.19.8"},"scripts":{"test":"npm run format:lint && npm run build","rollup":"rollup --config rollup.config.js --sourcemap","build":"npm run clean && npm run rollup","clean":"rm -rf dist","watch":"npm run build && SHELL=/bin/bash chokidar 'src/**/*.js' -c 'npm run format && npm run build'","format":"prettier --write --single-quote --trailing-comma es5 'src/**/*.js'","format:lint":"prettier -l --single-quote --trailing-comma es5 'src/**/*.js'","release":"./release"},"license":"MIT","homepage":"https://github.com/omishyn/perfect-scrollbar#readme","gitHead":"2f3a87e5a54ded88bfb98700b40d82943d6fcaaa","_id":"om-perfect-scrollbar@2.0.1","_nodeVersion":"14.19.3","_npmVersion":"6.14.17","dist":{"integrity":"sha512-KOIxlE1zR9AM4bsNdptJMXLdk8LmIAyTbcBGw2Lhde0gdP8JeDmqH4JyEkNWNiQYtnyI1NqMn1V0kAPeKyqYtQ==","shasum":"c9c6cbdf8be15ced4597e08b1bbc1debfc6c29bb","tarball":"https://registry.npmjs.org/om-perfect-scrollbar/-/om-perfect-scrollbar-2.0.1.tgz","fileCount":27,"unpackedSize":501145,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDadtUjPcrG+ugG5SNNco3+esmodiTe+Yp+6Q7ZnJpz/QIgY8/ZN6T5d2C7lYvlxg/3iwKBHZRNYmIR1Ps5DgRLQiU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjblkRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7KA//QamRyj5lVn10puccsbn4wQEZszuVS36f4RBn021S2sSGWOhy\r\nH+se9xXw3wNpZG5X9NpcZ5/eD5i2yWk1UWqr4yixtypokyJHFoAiUmROWMg4\r\ncTls3FReO4Bo3/Cu6v4JWIJfb0aFNsYAoG9v6C/sbE4jdG775SPsiBHJFD7K\r\nGS6thIMEDvU1oTW6EuMDmRhDLASkVbMkOgOLjlaIGX7YQcUtYJyjp0+/KZll\r\n2/qjVieHlYIURxxQd8qf3GPYvosjqw6ohWVF7KRYZM0xd2+ipzcIRBT2zY1w\r\nODXYwL3dFv5M/Q4P9iQbfYjR9szKqwq7NixqVJCWTmesqumBPCUdlsDJXNFi\r\nYFhkyXtsgLlLtF1B13okyF7pv39iqNScgdSlrj07ZoCSO7tMuZBfI2wuBlY6\r\nNgAkKIhmqO9+Oj5eIT7Yw5+GbIrUU9kNA9s6eCcE1tRNZyJNh16qN/2cGyu7\r\nHdWdcgx7TMW83VNSfp71hPl1BEcFLKTUcPzfMsd2fveNcu4zAtYBDtBoRV3v\r\ni7kq+eC1wukVtrtymudua5eJo1hpHKQOIamzKSd0TnK4xT0sMHyLYvB6yqwD\r\ndj9Qkt3kKZ7tkjl5qAMtImtRq9Lp4K2E06SQsDyq0SV3qW0V20ma1mEkn8PR\r\nk/3RXfK1EepJlIkig7TwgReDBW0IWE7WsTY=\r\n=eHEz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"oleh.mishyn","email":"mishyn.uk@gmail.com"},"directories":{},"maintainers":[{"name":"oleh.mishyn","email":"mishyn.uk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/om-perfect-scrollbar_2.0.1_1668176145266_0.8654110719018617"},"_hasShrinkwrap":false}},"time":{"created":"2020-11-11T12:34:10.264Z","1.5.1":"2020-11-11T12:34:10.432Z","modified":"2022-11-11T14:15:45.561Z","1.5.2":"2021-03-09T13:56:50.040Z","2.0.1":"2022-11-11T14:15:45.476Z"},"maintainers":[{"name":"oleh.mishyn","email":"mishyn.uk@gmail.com"}],"description":"Minimalistic but perfect custom scrollbar plugin","homepage":"https://github.com/omishyn/perfect-scrollbar#readme","keywords":["frontend","scroll","scrollbar"],"repository":{"type":"git","url":"git+https://github.com/omishyn/perfect-scrollbar.git"},"author":{"name":"AMC BI Team & OM","email":"mishyn.uk@gmail.com","url":"https://github.com/omishyn"},"bugs":{"url":"https://github.com/omishyn/perfect-scrollbar/issues"},"license":"MIT","readme":"<p align=\"center\">\n  <a href=\"https://mdbootstrap.com/docs/jquery/getting-started/download/?utm_source=GitHub&utm_medium=PerfectScrollbar\">\n    <img src=\"https://mdbootstrap.com/img/Marketing/general/logo/medium/mdb-r.png\">\n  </a>\n</p>\n\n<h1 align=\"center\">perfect-scrollbar</h1>\n\n<p align=\"center\">Minimalistic but perfect custom scrollbar plugin<p>\n\n\n<p align=\"center\">\n  <a href=\"https://npmcharts.com/compare/perfect-scrollbar?minimal=true\"><img src=\"https://img.shields.io/npm/dm/perfect-scrollbar.svg\" alt=\"Downloads\"></a>\n  <a href=\"https://github.com/mdbootstrap/bootstrap-material-design/blob/master/License.pdf\"><img src=\"https://img.shields.io/badge/license-MIT-green.svg\" alt=\"License\"></a>\n  <a href=\"https://badge.fury.io/js/perfect-scrollbar\"><img src=\"https://badge.fury.io/js/perfect-scrollbar.svg\" alt=\"npm\"></a>\n  <a href=\"https://twitter.com/intent/tweet/?text=Thanks+@mdbootstrap+for+maintaining+amazing+and+free+Perfect+Scrollbar+Plugin%20https://mdbootstrap.com/freebies/perfect-scrollbar/&hashtags=javascript,code,webdesign,github\"><img src=\"https://img.shields.io/twitter/url/http/shields.io.svg?style=social\"></a>\n</p>\n\n## [Official documentation](https://mdbootstrap.com/freebies/perfect-scrollbar/?utm_source=GitHub&utm_medium=PerfectScrollbar)\n***The official documentation can be found [here](https://mdbootstrap.com/freebies/perfect-scrollbar/?utm_source=GitHub&utm_medium=PerfectScrollbar).***\n***To read documentation for versions < 1.0, please visit [`v0.8.1`](https://github.com/mdbootstrap/perfect-scrollbar/tree/0.8.1).***\n\n________\n\n## Why perfect-scrollbar?\n\nperfect-scrollbar is minimalistic but *perfect* (for us, and maybe for most\ndevelopers) scrollbar plugin.\n\n* No change on design layout\n* No manipulation on DOM tree\n* Use plain `scrollTop` and `scrollLeft`\n* Scrollbar style is fully customizable\n* Efficient update on layout change\n\nWe hope you will love it!\n\n## Live preview\n\nCheck out the [Live Preview](https://mdbootstrap.com/snippets/jquery/filipkapusta/765760/?utm_source=GitHub&utm_medium=PerfectScrollbar) snippet. You can fork it right away for testing and experimenting purposes.\n\n## More useful plugins\n\n***You'll find some example plugins below, you can explore all of them [here](https://mdbootstrap.com/plugins/jquery/?utm_source=GitHub&utm_medium=PerfectScrollbar)***\n\n[Datatable Plugin](https://mdbootstrap.com/docs/jquery/tables/datatables/?utm_source=GitHub&utm_medium=PerfectScrollbar)| [Treeview Plugin](https://mdbootstrap.com/plugins/jquery/treeview/?utm_source=GitHub&utm_medium=PerfectScrollbar)| [Filter Plugin](https://mdbootstrap.com/plugins/jquery/filter/?utm_source=GitHub&utm_medium=PerfectScrollbar)\n------------ | ------------- | -------------\n<a href=\"https://mdbootstrap.com/docs/jquery/tables/datatables/?utm_source=GitHub&utm_medium=PerfectScrollbar\"><img  src=\"https://mdbootstrap.com/img/Marketing/products/jquery/plugins/datatable.jpg\" alt=\"Filter Plugin\"></a> | <a href=\"https://mdbootstrap.com/plugins/jquery/treeview/?utm_source=GitHub&utm_medium=PerfectScrollbar\"><img   src=\"https://mdbootstrap.com/img/Marketing/products/jquery/plugins/treeview.jpg\" alt=\"Filter Plugin\"></a> | <a href=\"https://mdbootstrap.com/plugins/jquery/filter/?utm_source=GitHub&utm_medium=PerfectScrollbar\"><img  src=\"https://mdbootstrap.com/img/Marketing/products/jquery/plugins/filter.jpg\" alt=\"Filter Plugin\"></a>\n_________\n\n## Table of Contents\n\n* [Install](#install)\n* [Before using perfect-scrollbar](#before-using-perfect-scrollbar)\n* [Caveats](#caveats)\n* [How to use](#how-to-use)\n* [Options](#options)\n* [Events](#events)\n* [Helpdesk](#helpdesk)\n* [IE Support](#ie-support)\n* [License](#license)\n* [Related resources](#related-resources)\n* [Social media](#social-media)\n\n## Install\n\n#### Download now\n\nYou can manually download perfect-scrollbar [here](https://mdbootstrap.com/freebies/perfect-scrollbar/?utm_source=GitHub&utm_medium=PerfectScrollbar).\n\n#### npm\n\nYou can install and use perfect-scrollbar with npm. It's registered\nas [perfect-scrollbar](https://www.npmjs.com/package/perfect-scrollbar).\n\n```\n$ npm install om-perfect-scrollbar\n```\n#### From sources\n\nIf you want to use the development version of the plugin, build from source\nmanually. The development version may be unstable.\n\n```\n$ git clone https://github.com/omishyn/perfect-scrollbar.git\n$ cd perfect-scrollbar\n$ npm install\n$ npm run build\n```\n\n#### Unofficial sources\n\nSources not mentioned above are not maintained officially. If there are issues\nof the following sources, please ask and resolve in each repository.\n\n## Before using perfect-scrollbar\n\nThe following requirements should meet.\n\n* the container must have a `position` style.\n* the container must be a normal container element.\n\nThe following requirements are included in the basic CSS, but please keep in\nmind when you'd like to change the CSS files.\n\n* the container must have an `overflow: hidden` css style.\n* the scrollbar's position must be `absolute`.\n* the scrollbar-x must have `bottom` or `top`, and the scrollbar-y must have\n  `right` or `left`.\n\nFinally, scroll hooking is generally considered as a bad practice, and\nperfect-scrollbar should be used carefully. Unless custom scroll is really\nneeded, using browser-native scroll is always recommended.\n\n## Caveats\n\nperfect-scrollbar emulates some scrolls, but not all of the kinds. It also *does not* work\nin some situations. You can find these cases in [Caveats](https://github.com/mdbootstrap/perfect-scrollbar/wiki/Caveats).\nBasically, items listed in the caveats are hacky to implement and may not be\nimplemented in the future. If the features are really needed, please consider\nusing browser-native scroll.\n\n## How to use\n\nFirst of all, please check if the container element meets the requirements and\nthe main CSS is imported.\n\n```html\n<style>\n  #container {\n    position: relative;\n    width: 600px;\n    height: 400px;\n  }\n</style>\n<link rel=\"stylesheet\" href=\"css/perfect-scrollbar.css\">\n```\n\n\nImport via ES modules:\n\n```js\nimport PerfectScrollbar from 'om-perfect-scrollbar';\n```\n\nOr in browser:\n\n```html\n<script src=\"dist/perfect-scrollbar.js\"></script>\n```\n\nTo initialise:\n\n```js\nconst container = document.querySelector('#container');\nconst ps = new PerfectScrollbar(container);\n\n// or just with selector string\nconst ps = new PerfectScrollbar('#container');\n```\n\nIt can be initialised with [options](#options).\n\n```js\nconst ps = new PerfectScrollbar('#container', {\n  wheelSpeed: 2,\n  wheelPropagation: true,\n  minScrollbarLength: 20\n});\n```\n\nIf the size of your container or content changes, call `update`.\n\n```js\nps.update();\n```\n\nIf you want to destroy the scrollbar, use `destroy`.\n\n```js\nps.destroy();\nps = null; // to make sure garbages are collected\n```\n\nIf you want to scroll to somewhere, just update `scrollTop`.\n\n```js\nconst container = document.querySelector('#container');\ncontainer.scrollTop = 0;\n```\n\nYou can also get information about how to use the plugin from code in [`examples/`](examples).\n\n## Options\n\n### `handlers {String[]}`\n\nIt is a list of handlers to scroll the element.\n\n**Default**: `['click-rail', 'drag-thumb', 'keyboard', 'wheel', 'touch']`\n\n### `wheelSpeed {Number}`\n\nThe scroll speed applied to mousewheel event.\n\n**Default**: `1`\n\n### `wheelPropagation {Boolean}`\n\nIf this option is true, when the scroll reaches the end of the side, mousewheel\nevent will be propagated to parent element.\n\n**Default**: `true`\n\n### `swipeEasing {Boolean}`\n\nIf this option is true, swipe scrolling will be eased.\n\n**Default**: `true`\n\n### `minScrollbarLength {Number?}`\n\nWhen set to an integer value, the thumb part of the scrollbar will not shrink\nbelow that number of pixels.\n\n**Default**: `null`\n\n### `maxScrollbarLength {Number?}`\n\nWhen set to an integer value, the thumb part of the scrollbar will not expand\nover that number of pixels.\n\n**Default**: `null`\n\n### `scrollingThreshold {Number}`\n\nThis sets threshold for `ps--scrolling-x` and `ps--scrolling-y` classes to\nremain. In the default CSS, they make scrollbars shown regardless of hover\nstate. The unit is millisecond.\n\n**Default**: `1000`\n\n### `useBothWheelAxes {Boolean}`\n\nWhen set to true, and only one (vertical or horizontal) scrollbar is visible\nthen both vertical and horizontal scrolling will affect the scrollbar.\n\n**Default**: `false`\n\n### `suppressScrollX {Boolean}`\n\nWhen set to true, the scrollbar in X-axis will not be available, regardless of\nthe content width.\n\n**Default**: `false`\n\n### `suppressScrollY {Boolean}`\n\nWhen set to true, the scroll bar in Y-axis will not be available, regardless of\nthe content height.\n\n**Default**: `false`\n\n### `scrollXMarginOffset {Number}`\n\nThe number of pixels the content width can surpass the container width without\nenabling the X-axis scroll bar. Allows some \"wiggle room\" or \"offset break\", so\nthat X-axis scroll bar is not enabled just because of a few pixels.\n\n**Default**: `0`\n\n### `scrollYMarginOffset {Number}`\n\nThe number of pixels the content height can surpass the container height without\nenabling the Y-axis scroll bar. Allows some \"wiggle room\" or \"offset break\", so\nthat Y-axis scroll bar is not enabled just because of a few pixels.\n\n**Default**: `0`\n\n## Events\n\nperfect-scrollbar dispatches custom events.\n\n```js\ncontainer.addEventListener('ps-scroll-x', () => {/* ... */});\n```\n\n### `ps-scroll-y`\n\nThis event fires when the y-axis is scrolled in either direction.\n\n### `ps-scroll-x`\n\nThis event fires when the x-axis is scrolled in either direction.\n\n### `ps-scroll-up`\n\nThis event fires when scrolling upwards.\n\n### `ps-scroll-down`\n\nThis event fires when scrolling downwards.\n\n### `ps-scroll-left`\n\nThis event fires when scrolling to the left.\n\n### `ps-scroll-right`\n\nThis event fires when scrolling to the right.\n\n### `ps-y-reach-start`\n\nThis event fires when scrolling reaches the start of the y-axis.\n\n### `ps-y-reach-end`\n\nThis event fires when scrolling reaches the end of the y-axis (useful for\ninfinite scroll).\n\n### `ps-x-reach-start`\n\nThis event fires when scrolling reaches the start of the x-axis.\n\n### `ps-x-reach-end`\n\nThis event fires when scrolling reaches the end of the x-axis.\n\nYou can also watch the reach state via the `reach` property.\n\n```js\nconst ps = new PerfectScrollbar(/* ... */);\n\nconsole.log(ps.reach.x); // => 'start' or 'end' or null\nconsole.log(ps.reach.y); // => 'start' or 'end' or null\n```\n\n## Helpdesk\n\nIf you have any idea to improve this project or any problem using this, please\nfeel free to upload an [issue](https://github.com/mdbootstrap/perfect-scrollbar/issues).\n\nFor common problems, there is a [FAQ](https://github.com/mdbootstrap/perfect-scrollbar/wiki/FAQ) wiki\npage. Please check the page before uploading an issue.\n\nAlso, the project is not actively maintained. No maintainer is paid, and most of\nus are busy on our professional or personal works. Please understand that it may\ntake a while for an issue to be resolved. Uploading a PR would be the fastest\nway to fix an issue.\n\n## IE Support\n\nThe plugin is developed to work in modern MS browsers including Edge and IE11,\nbut may have some issues in IE11 mainly because of IE rendering bug concerning\nsync update on scroll properties. The problem is mentioned in\n[Caveats](https://github.com/mdbootstrap/perfect-scrollbar/wiki/Caveats) too.\n\nIE<11 is not supported, and patches to fix problems in IE<=10 will not be\naccepted. When old IEs should be supported, please fork the project and make\nmodification locally.\n\n## License\n\n[MIT](LICENSE)\n\n## Related resources\n\n- [Material Scrollbar](https://mdbootstrap.com/docs/jquery/javascript/scroll/?utm_source=GitHub&utm_medium=PerfectScrollbar)\n\n- [Table scroll](https://mdbootstrap.com/docs/jquery/tables/scroll/?utm_source=GitHub&utm_medium=PerfectScrollbar)\n\n- [Full screen scroller](https://mdbootstrap.com/plugins/jquery/screen-scroller/?utm_source=GitHub&utm_medium=PerfectScrollbar)\n\n- [Scrollspy](https://mdbootstrap.com/docs/jquery/navigation/scrollspy/?utm_source=GitHub&utm_medium=PerfectScrollbar)\n\n## Social Media\n\n - [Twitter](https://twitter.com/MDBootstrap)\n\n - [Facebook](https://www.facebook.com/mdbootstrap)\n\n - [Pinterest](https://pl.pinterest.com/mdbootstrap)\n\n - [Dribbble](https://dribbble.com/mdbootstrap)\n\n - [LinkedIn](https://www.linkedin.com/company/material-design-for-bootstrap)\n\n - [YouTube](https://www.youtube.com/channel/UC5CF7mLQZhvx8O5GODZAhdA)\n\n## MDB PRO\n\n - [Material Design for Bootstrap PRO](https://mdbootstrap.com/products/jquery-ui-kit/?utm_source=GitHub&utm_medium=PerfectScrollbar)\n","readmeFilename":"README.md"}