{"id":13533172,"url":"https://github.com/davidgaroro/vuetify-swipeout","last_synced_at":"2025-04-01T21:31:55.580Z","repository":{"id":34057164,"uuid":"144753254","full_name":"davidgaroro/vuetify-swipeout","owner":"davidgaroro","description":"👆 A swipe out example built with Vue 2 + Vuetify + Swiper.","archived":false,"fork":false,"pushed_at":"2023-03-04T02:47:31.000Z","size":1265,"stargazers_count":143,"open_issues_count":13,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-02T20:33:00.832Z","etag":null,"topics":["javascript","material","material-design","mobile","pwa","slider","swipe","swiper","touch","touch-events","vue","vue-cli","vue2","vuejs","vuejs2","vuetify"],"latest_commit_sha":null,"homepage":"https://davidgaroro.github.io/vuetify-swipeout","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidgaroro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-08-14T17:43:11.000Z","updated_at":"2024-09-02T14:10:41.000Z","dependencies_parsed_at":"2024-01-05T23:01:51.957Z","dependency_job_id":null,"html_url":"https://github.com/davidgaroro/vuetify-swipeout","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidgaroro%2Fvuetify-swipeout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidgaroro%2Fvuetify-swipeout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidgaroro%2Fvuetify-swipeout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidgaroro%2Fvuetify-swipeout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidgaroro","download_url":"https://codeload.github.com/davidgaroro/vuetify-swipeout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246713260,"owners_count":20821864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","material","material-design","mobile","pwa","slider","swipe","swiper","touch","touch-events","vue","vue-cli","vue2","vuejs","vuejs2","vuetify"],"created_at":"2024-08-01T07:01:17.263Z","updated_at":"2025-04-01T21:31:55.013Z","avatar_url":"https://github.com/davidgaroro.png","language":"Vue","funding_links":["https://www.paypal.com/donate?hosted_button_id=T7CVYXY994KHJ"],"categories":["🙌 Projects using Vuetify \u003ca name=\"projects\"\u003e\u003c/a\u003e","Vue","Resources","Examples [🔝](#readme)"],"sub_categories":["Vuetify 2","Examples"],"readme":"# vuetify-swipeout\nThis project is a swipe out example built with [Vue], [Vuetify] and [Swiper]. \n\n[Vue.js]: https://vuejs.org\n[Swiper]: http://idangero.us/swiper/\n[Vuetify]: https://vuetifyjs.com\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://davidgaroro.github.io/vuetify-swipeout/\" target=\"_blank\" rel=\"noopener\"\u003e\n    \u003cimg src=\"https://i.imgur.com/2u9lUq4.gif\"\u003e\u003cbr/\u003e\n    Live Demo\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Features\n- Vue CLI 3 + Webpack + vue-loader for single file Vue components\n  - Hot-reload in development\n  - Lint-on-save with [ESLint (Standard)](https://github.com/standard/eslint-config-standard)\n  - Stylus CSS preprocessor\n- Vuetify a-la-carte (reduce project's size  in production)\n- Progressive Web App\n  - App manifest\n  - Service worker\n  - Workbox options - [Cache Google Fonts]\n  - 100/100 Lighthouse score\n\n[Cache Google Fonts]: https://developers.google.com/web/tools/workbox/guides/common-recipes#google_fonts\n\n## Built With\n### Dependencies\n| Name| Description | |\n|--|--|:--:| \n|[swiper]|️Most Modern Mobile Touch Slider|👆\n|[vue]|Progressive JavaScript Framework|🖖\n|[vue-cli-3]|️Standard Tooling for Vue.js Development|🛠️\n|[vuetify]|️Material Component Framework for Vue.js|📚\n\n[swiper]: http://idangero.us/swiper\n[vue]: https://vuejs.org\n[vue-cli-3]: https://cli.vuejs.org\n[vuetify]: https://vuetifyjs.com\n\n### Development Dependencies\n| Name| Description | |\n|--|--|:--:| \n|[stylus-loader]|CSS preprocessor for webpack|🎨\n|[vue/cli-plugin-babel]|Compiler for next generation JavaScript|🐠\n|[vue/cli-plugin-eslint]|Pluggable JavaScript linter|✍️\n|[vue/cli-plugin-pwa]|JavaScript Library for adding support to PWA|📱\n\n[stylus-loader]: https://github.com/shama/stylus-loader\n[vue/cli-plugin-babel]: https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-babel\n[vue/cli-plugin-eslint]: https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-eslint\n[vue/cli-plugin-pwa]: https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-pwa\n\n## How To Use Swiper with Vuetify\n\n\u003e For information on how to use Swiper, visit the [official documentation]\n\n[official documentation]: http://idangero.us/swiper/get-started/\n\n### Install Swiper\n```\nnpm install swiper --save\n```\n\n### Add v-list component\n``` vue\n\u003c!-- App.vue --\u003e\n\u003ctemplate\u003e\n  ...\n  \u003cv-list\u003e\n    \u003ctemplate v-for=\"(item, index) in items\"\u003e\n      \u003ccustom-component\n        :id=\"`item-${item}`\"\n        @transitionEnd=\"customFunction\"\n        ...\n      /\u003e\n      \u003cv-divider...\u003e\u003c/v-divider\u003e\n    \u003c/template\u003e\n  \u003c/v-list\u003e\n  ...\n\u003c/template\u003e\n\n\u003cscript\u003e\nimport CustomComponent from '@/components/CustomComponent.vue'\nexport  default {\n  components: {\n    'custom-component': CustomComponent\n  },\n  methods: {\n    transitionEnd () {\n      // Callback from SwipeoutItem after transition\n      ...\n    }\n  }\n}\n\u003c/script\u003e\n```\n\n### Import and configure Swiper in the custom component\n``` vue\n\u003c!-- CustomComponent.vue --\u003e\n\u003ctemplate\u003e\n  \u003cdiv :id=\"id\" class=\"swiper-container\"\u003e\n    \u003cdiv class=\"swiper-wrapper\"\u003e\n      \u003cv-list-tile class=\"swiper-slide error\"\u003e\u003c/v-list-tile\u003e\n      \u003cv-list-tile class=\"swiper-slide\"\u003e\n        \u003c!-- custom content here --\u003e\n      \u003c/v-list-tile\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\nimport 'swiper/dist/css/swiper.min.css'\nimport { Swiper } from 'swiper/dist/js/swiper.esm.js'\n\nexport default {\n  props: ['id'],\n  mounted () {\n    const self = this\n    const el = '#' + this.id\n\n    // Initialize Swiper\n    const swiper = new Swiper(el, {\n      initialSlide: 1,\n      resistanceRatio: 0,\n      speed: 150\n    })\n\n    // Event will be fired after transition\n    swiper.on('transitionEnd', function () {\n      if (this.activeIndex === 0) {\n        self.$emit('transitionEnd')\n        // Destroy slider instance and detach all events listeners\n        this.destroy()\n      }\n    })\n  }\n}\n\u003c/script\u003e\n```\n\n## Project Installation \u0026 Setup\n### Clone repository\n```\ngit clone https://github.com/davidgaroro/vuetify-swipeout.git\ncd vuetify-swipeout\n```\n\n### Install dependencies\n```\nnpm install\n```\n\n### Compiles and hot-reloads for development\n```\nnpm run serve\n```\n\n### Compiles and minifies for production\n```\nnpm run build\n```\n\n### Lints and fixes files\n```\nnpm run lint\n```\n## Donation\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate?hosted_button_id=T7CVYXY994KHJ)\n## License\n[MIT](./LICENSE) \u0026copy; davidgaroro\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidgaroro%2Fvuetify-swipeout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidgaroro%2Fvuetify-swipeout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidgaroro%2Fvuetify-swipeout/lists"}