{"_id":"@axn/jquery-backtotop","_rev":"3-077a3df911c7a2ad372343820fafbbbe","name":"@axn/jquery-backtotop","dist-tags":{"latest":"1.0.1","@axn/jquery-backtotop@1.0.2":"1.0.2"},"versions":{"1.0.1":{"name":"@axn/jquery-backtotop","version":"1.0.1","description":"jQuery \"back to top\" plugin\r ============================","main":"jquery.backtotop.js","dependencies":{"jquery":"^1.7 || ^2.0 || ^3.1"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/AXN-Informatique/jquery-backtotop.git"},"author":{"name":"AXN Informatique"},"license":"MIT","bugs":{"url":"https://github.com/AXN-Informatique/jquery-backtotop/issues"},"homepage":"https://github.com/AXN-Informatique/jquery-backtotop#readme","gitHead":"e5d0fb4dd08d0d48ca98371909713a58ca631223","_id":"@axn/jquery-backtotop@1.0.1","_shasum":"9c3a3f3797818c91c740c4e9f6ce505d4eb0d66d","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.3","_npmUser":{"name":"axn","email":"developpement@axn.fr"},"dist":{"shasum":"9c3a3f3797818c91c740c4e9f6ce505d4eb0d66d","tarball":"https://registry.npmjs.org/@axn/jquery-backtotop/-/jquery-backtotop-1.0.1.tgz","fileCount":11,"unpackedSize":4657,"integrity":"sha512-0qqR+1XMUBLT7dkBHg6fC02wXSZzWgsowvpEz8gZNth+X3/9SqbtIjpuE6qe9uZtd3HfXyonE63264agWo4Y7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1FvS73J6OWuinAnnFu5D5e9rgwwx4y9D1DEIPp15fMQIhAOmmGq+pjo91USpkKUOzb+Og6UHnVhR6jUhcZwE//Epg"}]},"maintainers":[{"name":"axn","email":"developpement@axn.fr"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jquery-backtotop_1.0.1_1531483751569_0.23384245688083616"},"_hasShrinkwrap":false},"1.0.2":{"name":"@axn/jquery-backtotop","version":"1.0.2","description":"jQuery \"back to top\" plugin","main":"jquery.backtotop.js","dependencies":{"jquery":"^3.2"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/AXN-Informatique/jquery-backtotop.git"},"author":{"name":"AXN Informatique"},"license":"MIT","bugs":{"url":"https://github.com/AXN-Informatique/jquery-backtotop/issues"},"homepage":"https://github.com/AXN-Informatique/jquery-backtotop#readme","gitHead":"838c90df6ba0da638eda209058fc567911f7095e","readme":"jQuery \"back to top\" plugin\r\n============================\r\n\r\nInstall\r\n-------\r\n\r\nWith NPM run the following command:\r\n\r\n```sh\r\nnpm install @axn/jquery-backtotop --save\r\n```\r\n\r\nUsage\r\n-----\r\n\r\nLoad the script:\r\n\r\n```html\r\n<script src=\"jquery.js\"></script>\r\n<script src=\"jquery.backtotop.js\"></script>\r\n```\r\n\r\nPut a button:\r\n\r\n```html\r\n<button id=\"btn-back-to-top\">Back to top</button>\r\n```\r\n\r\nPosition it:\r\n\r\n```css\r\n#btn-back-to-top {\r\n    position: fixed;\r\n    bottom: 15px;\r\n    right: 15px;\r\n    display: none;\r\n}\r\n```\r\n\r\nRun the script:\r\n\r\n```javascript\r\n(function($) {\r\n    $('#btn-back-to-top').backtotop();\r\n})(jQuery);\r\n```\r\n\r\nWith options:\r\n\r\n```javascript\r\n(function($) {\r\n    $('#btn-back-to-top').backtotop({\r\n        showAt: 200,\r\n        fadeInDelay: 400,\r\n        fadeOutDelay: 400,\r\n        scrollTopDelay: 600\r\n    });\r\n})(jQuery);\r\n```\r\n","readmeFilename":"readme.md","_id":"@axn/jquery-backtotop@1.0.2","_shasum":"892e57fa68d1ffbffe5f80d5ab9d179b4baa7be0","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.3","_npmUser":{"name":"axn","email":"developpement@axn.fr"},"dist":{"shasum":"892e57fa68d1ffbffe5f80d5ab9d179b4baa7be0","tarball":"https://registry.npmjs.org/@axn/jquery-backtotop/-/jquery-backtotop-1.0.2.tgz","fileCount":11,"unpackedSize":4852,"integrity":"sha512-hBAI5OkpesLjMj8DzSGtYlVlkdbBxJtIW46ug0k3lIZsc+dKC85/wIQMmmyjJ/zkG0eh0RcdSyPSo5ZFaC4WIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDT9j5V6iri8tU2xR5yc+m+Ka3GD4N6qpeQE/oNeaH86AIgPLFZDBOdm+OOnM22dk1vXGLTGCvRyOPaA4EbgafqWm4="}]},"maintainers":[{"name":"axn","email":"developpement@axn.fr"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jquery-backtotop_1.0.2_1531487541938_0.01575482736283651"},"_hasShrinkwrap":false}},"time":{"created":"2018-07-13T12:09:11.353Z","1.0.1":"2018-07-13T12:09:11.919Z","modified":"2022-06-12T14:55:16.121Z","1.0.2":"2018-07-13T13:12:21.997Z"},"maintainers":[{"name":"axn","email":"developpement@axn.fr"}],"description":"jQuery \"back to top\" plugin\r ============================","homepage":"https://github.com/AXN-Informatique/jquery-backtotop#readme","repository":{"type":"git","url":"git+https://github.com/AXN-Informatique/jquery-backtotop.git"},"author":{"name":"AXN Informatique"},"bugs":{"url":"https://github.com/AXN-Informatique/jquery-backtotop/issues"},"license":"MIT","readme":"","readmeFilename":""}