{"_id":"@dvhb/jetslider","_rev":"6-e9e82953ef4a43e0bfdb6b1cc44a0173","name":"@dvhb/jetslider","description":"Simple plugin for making beautiful single-page applications","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.2":{"name":"@dvhb/jetslider","version":"1.0.2","description":"Simple plugin for making beautiful single-page applications","main":"jquery.jetslider.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/dvhbru/jetslider.git"},"keywords":["jquery","slider","scroll","single-page"],"author":{"name":"Pavel Gavrilenko"},"license":"MIT","bugs":{"url":"https://github.com/dvhbru/jetslider/issues"},"devDependencies":{"gulp":"~3.6.0","gulp-jshint":"~1.5.3","gulp-uglifyjs":"~0.3.0","gulp-gh-pages":"~0.5.2"},"gitHead":"6359649d075b8852183b5c210c5b1732befc079b","homepage":"https://github.com/dvhbru/jetslider#readme","_id":"@dvhb/jetslider@1.0.2","_shasum":"12b8bdd2f51c46a61a8998955110f71dc44f5e4a","_from":".","_npmVersion":"4.1.2","_nodeVersion":"6.5.0","_npmUser":{"name":"alexbee","email":"asu@dvhb.ru"},"dist":{"shasum":"12b8bdd2f51c46a61a8998955110f71dc44f5e4a","tarball":"https://registry.npmjs.org/@dvhb/jetslider/-/jetslider-1.0.2.tgz","integrity":"sha512-ZuB8mp4egNaIw/HHBvnxbAlNwE1wNiQMdEe8v2dQ0wqCKIGnz7a3G4UJo8FQRr4XPibDuj67vZI2GMjEcOs0KA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBDdqQRWYKOLcwmpYJe0FUFiKo0CEkjuZ+U/zys+OBoGAiEAmbTWNPylrNWfe2PEZGwc2yW+z8NTwdI6BoOodw/7Zro="}]},"maintainers":[{"name":"alexbee","email":"asu@dvhb.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jetslider-1.0.2.tgz_1507539062969_0.9377899125684053"},"directories":{}}},"readme":"# jetSlider\n\nSimple plugin for making beautiful page transitions\n\n\n## Demo\n\n[Fullpage](http://dvhbru.github.io/dvhb-jetSlider) | [Inline](http://dvhbru.github.io/dvhb-jetSlider/inline_example.html)\n\n\n## Options\n\n| Option             | Type       | Default                                                | Description |\n| ------------------ | ---------- | ------------------------------------------------------ | ----------- |\n| slideSelector      | *String*   | `'section'`                                            | Selector of the slide elements |\n| transitionDuration | *Number*   | `800`                                                  | Duration of transition between slides |\n| scroll             | *Boolean*  | `true`                                                 | Changing slides by mouse scroll |\n| keyboard           | *Boolean*  | `true` if parent element is &lt;body&gt;. Else `false` | Changing slides by keyboard arrows |\n| easing             | *String*   | `'ease-in-out'`                                        | Easing function e.g. `'linear'`, `'ease-in'`, `'cubic-bezier(0.42,0,0.58,1)'`... |\n| onBeforeMove       | *Function* | `null`                                                 | Function which will be called with `newIndex` and `oldIndex` arguments every time when animation starts |\n| onAfterMove        | *Function* | `null`                                                 | Function which will be called with `newIndex` and `oldIndex` arguments every time when animation ends |\n| jsFallback         | *Boolean*  | `true`                                                 | If `true` js fallback will be used for animations in browsers which don't support css transorms and transitions. If `false` slides will change without animation in those browsers |\n\n\nOptions can be changed after initialization:\n```javascript\n$('.slider').jetSlider(optionName, value);\n```\n\n\n## Methods\n\n```javascript\n$('.slider').jetSlider('moveto', index);\n```\n\n```javascript\n$('.slider').jetSlider('moveup');\n```\n\n```javascript\n$('.slider').jetSlider('movedown');\n```\n\n```javascript\n$('.slider').jetSlider('destroy');\n```\n\n## Like declarative initialization?\n\n\nYou can initialize plugin without js code! Just add `data-jetslider` attribute to slider container.\n\nOptions can be customized by using data-* attributes:\n\n```html\n<div class=\"main\" data-jetslider data-slide-selector=\".page\" data-transition-duration=\"2000\" data-easing=\"ease-in\">\n     <section class=\"page\">\n         ...\n     </section>\n     ...\n     <section class=\"page\">\n         ...\n     </section>\n     ...\n </div>\n```\n\n## License\n\n[MIT License](./LICENSE) © [dvhb](http://dvhb.ru)\n\n","maintainers":[{"email":"sairus2k@gmail.com","name":"sairus2k"},{"email":"r2d2@dvhb.ru","name":"r2d2dvhb"},{"email":"admin@dvhb.ru","name":"admindvhb"},{"email":"asu@dvhb.ru","name":"alexbee"}],"time":{"modified":"2022-06-12T17:22:36.951Z","created":"2017-10-09T08:51:03.953Z","1.0.2":"2017-10-09T08:51:03.953Z"},"homepage":"https://github.com/dvhbru/jetslider#readme","keywords":["jquery","slider","scroll","single-page"],"repository":{"type":"git","url":"git+ssh://git@github.com/dvhbru/jetslider.git"},"author":{"name":"Pavel Gavrilenko"},"bugs":{"url":"https://github.com/dvhbru/jetslider/issues"},"license":"MIT","readmeFilename":"README.md"}