├── .gitignore ├── LICENSE ├── README.md ├── package.json ├── src ├── Item.vue ├── Lory.vue ├── Next.vue ├── Prev.vue └── index.js └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) Fangdun Cai (fundon.me) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # lory 2 | 3 | ☀ Touch enabled minimalistic slider for Vue, it is based on [lory](https://github.com/meandmax/lory). 4 | 5 | 6 | ## Installation 7 | 8 | ```console 9 | $ npm install vue-lory --save 10 | ``` 11 | 12 | 13 | ## Examples 14 | 15 | ```vue 16 | 28 | 29 | 41 | ``` 42 | 43 | 44 | ## Badges 45 | 46 | ![](https://img.shields.io/badge/license-MIT-blue.svg) 47 | ![](https://img.shields.io/badge/status-stable-green.svg) 48 | 49 | --- 50 | 51 | > [fundon.me](https://fundon.me)  ·  52 | > GitHub [@fundon](https://github.com/fundon)  ·  53 | > Twitter [@_fundon](https://twitter.com/_fundon) 54 | 55 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vue-lory", 3 | "version": "0.0.5", 4 | "description": "Vue Slider Component is based on lory", 5 | "repository": "vue-bulma/lory", 6 | "license": "MIT", 7 | "author": { 8 | "name": "Fangdun Cai", 9 | "email": "cfddream@gmail.com", 10 | "url": "fundon.me" 11 | }, 12 | "keywords": [ 13 | "vue", 14 | "slider", 15 | "vue-lory", 16 | "lory" 17 | ], 18 | "main": "src/index.js", 19 | "peerDependencies": { 20 | "vue": ">=2" 21 | }, 22 | "dependencies": { 23 | "lory.js": "^2.2.1" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/Item.vue: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /src/Lory.vue: -------------------------------------------------------------------------------- 1 | 11 | 12 | 40 | 41 | 109 | -------------------------------------------------------------------------------- /src/Next.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 21 | -------------------------------------------------------------------------------- /src/Prev.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 21 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | exports.Item = require('./Item').default 2 | exports.Lory = require('./Lory').default 3 | exports.Prev = require('./Prev').default 4 | exports.Next = require('./Next').default 5 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | lory.js: 4 | version "2.2.1" 5 | resolved "https://registry.yarnpkg.com/lory.js/-/lory.js-2.2.1.tgz#e45ff82f1e403ee9df5e9c01b31636a09f45a743" 6 | 7 | --------------------------------------------------------------------------------