{"_id":"jqdoublescroll","_rev":"1-f4e007d7b5c4a99cf4e4a19e7e526f11","name":"jqdoublescroll","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"jqdoublescroll","version":"1.0.0","description":"A Simple jQuery plugin to display additional scrollbar on top of the element.   *This plugin does not requires jQuery-UI*","main":"jquery.doubleScroll.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/avianey/jqDoubleScroll.git"},"keywords":["jquery","doublescroll"],"author":"","license":"ISC","bugs":{"url":"https://github.com/avianey/jqDoubleScroll/issues"},"homepage":"https://github.com/avianey/jqDoubleScroll#readme","gitHead":"1ac11ef1302f49fe7702ab0ca22789ccc8697484","_id":"jqdoublescroll@1.0.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-qT39EZlu4ffykc+3LYxtREjz0uupfR4HZa05Bk46h1vTrMehwHbwUdnwv9rEaQTG+XvtJ1ds8p1jq3pLuHPv4A==","shasum":"b303f39dee5b825be60f01c7a5b2e63696d07373","tarball":"https://registry.npmjs.org/jqdoublescroll/-/jqdoublescroll-1.0.0.tgz","fileCount":5,"unpackedSize":11950,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdhzT6CRA9TVsSAnZWagAAgxkP/1vp7JS9XTVMC0V7tRUq\n9eWWklSOFxsDqd0TScNCjwGYdqRlqf8Dvc1aIIIODaGwcYYra4nBkqH+1+7B\nIucXdFEDAl1Ewgbkc7/hJcFLTTl67O6T6Q/EDI771jvz+VZ1zDwmL3uLaxZM\nCUSlvmUwQSBivis0zrWK9ZSPsqxFHKvK8bXxZkeDHkxwPaqrXBigDYAqte5b\nr+Dg5HMsw7qnnpCGHQiNvWI9LwyoYi6O1+MndElTMZW9GlD5LdsBtFsWS5xE\ntBigy186gtsTa6gsApttQPHOsOrW28xXQ3/2bs8xWnJ/11bBRTX8T0EH9TJi\nRvJv4mAWEVzWA2StXNs1n/o2z5v66Kgr3L9YIQ1AGPpp5Dmi/oU0JoRFHseG\n83z8DN7go42Yqkx0f+Cs1M2aOwmKK/FBhgn7MA85lrF8mLHc3iNxq+a9eBgD\nu/NjjTSH88sUZt/B5gs0V1aGoilSDqmmp1G3Xrb02xyRGeUO05kJFoyPPkbc\nBVFtBhChRc+OrPyiU8RkT8HjtwGN5GOhUwTrmyz+0b0tp+RM2ap4qXSP1aNM\nykL43queRzXnisG7Cs4zzg1AbBNsus5cG4jBz+C6wcUcsI8Kized3J3mbnAD\ncZ6/PE5pLhq9pC4NiOs2ytVd8Lwc95wLrPCTPCZiB7/dz8q/LdMuuxgenQK1\nse3X\r\n=B400\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICmu8uqdIv+VE2p/kBhEHPEux3lDCEffrhCkm6Z+eBaJAiA6mxismXoO8d9+KwBTt8JKKYDF6fP1jpOtGu5+xr4Wcg=="}]},"maintainers":[{"name":"goodw","email":"konovalov@47hours.org"}],"_npmUser":{"name":"goodw","email":"konovalov@47hours.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jqdoublescroll_1.0.0_1569142009970_0.3052983901505988"},"_hasShrinkwrap":false}},"time":{"created":"2019-09-22T08:46:49.969Z","1.0.0":"2019-09-22T08:46:50.107Z","modified":"2022-05-06T16:57:07.525Z"},"maintainers":[{"name":"goodw","email":"konovalov@47hours.org"}],"description":"A Simple jQuery plugin to display additional scrollbar on top of the element.   *This plugin does not requires jQuery-UI*","homepage":"https://github.com/avianey/jqDoubleScroll#readme","keywords":["jquery","doublescroll"],"repository":{"type":"git","url":"git+https://github.com/avianey/jqDoubleScroll.git"},"bugs":{"url":"https://github.com/avianey/jqDoubleScroll/issues"},"license":"ISC","readme":"# jQuery DoubleScroll Plugin\n\nA Simple jQuery plugin to display additional scrollbar on top of the element.  \n*This plugin does not requires jQuery-UI*\n\n## Usage\n\nCall the **doubleScroll** function on the desired jQuery elements on page load :  \n\n```javascript\n$(document).ready(function() {\n   $('.double-scroll').doubleScroll();\n});\n```\n\n## Options\n\nYou can configure the double scroll with the following options :  \n```javascript\n{\n\tcontentElement: undefined, // Widest element, if not specified first child element will be used\n\tscrollCss: {                \n\t\t'overflow-x': 'auto',\n\t\t'overflow-y': 'hidden'\n\t},\n\tcontentCss: {\n\t\t'overflow-x': 'auto',\n\t\t'overflow-y': 'hidden'\n\t},\n\tonlyIfScroll: true, // top scrollbar is not shown if the bottom one is not present\n\tresetOnWindowResize: false // recompute the top ScrollBar requirements when the window is resized\n}\n```\n\n######  contentElement\n\nThe element to use as the scroll reference.  \nFirst child element is used if nothing is specified.\n\n######  scrollCss\n\nKey-Value pairs that allow you to customize the top scrollbar CSS.\n\n######  contentCss\n\nKey-Value pairs that allow you to customize the content CSS.\n\n######  onlyIfScroll\n\nIf **true**, will display the top scrollbar only if the content is scrollable...\n\n######  resetOnWindowResize\n\nIf **true**, will attach an event to regenerate the top scrollbar when the window is resized.  \nUse it when the scrollable element has a width which is relative to the window width.\n\n## Licence\n\nDual licensed under the MIT and GPL licenses:\n-  http://www.opensource.org/licenses/mit-license.php\n-  http://www.gnu.org/licenses/gpl.html\n\n## Authors\n\n-  @sniku : https://github.com/sniku/jQuery-doubleScroll\n-  @avianey\n","readmeFilename":"README.md"}