{"id":13424059,"url":"https://github.com/Teddy-Zhu/vue-waves","last_synced_at":"2025-03-15T18:33:22.310Z","repository":{"id":72022816,"uuid":"56121928","full_name":"Teddy-Zhu/vue-waves","owner":"Teddy-Zhu","description":"it's a vuejs version of waves","archived":false,"fork":false,"pushed_at":"2018-04-02T08:21:20.000Z","size":69,"stargazers_count":46,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-10T11:03:07.538Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://fian.my.id/Waves/","language":"JavaScript","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/Teddy-Zhu.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":"2016-04-13T04:52:25.000Z","updated_at":"2023-06-01T06:25:15.000Z","dependencies_parsed_at":"2024-01-07T01:43:38.922Z","dependency_job_id":"0792778b-3286-45ca-a150-97e1561b9b39","html_url":"https://github.com/Teddy-Zhu/vue-waves","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/Teddy-Zhu%2Fvue-waves","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teddy-Zhu%2Fvue-waves/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teddy-Zhu%2Fvue-waves/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teddy-Zhu%2Fvue-waves/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Teddy-Zhu","download_url":"https://codeload.github.com/Teddy-Zhu/vue-waves/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243775697,"owners_count":20346242,"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":[],"created_at":"2024-07-31T00:00:47.683Z","updated_at":"2025-03-15T18:33:22.020Z","avatar_url":"https://github.com/Teddy-Zhu.png","language":"JavaScript","funding_links":[],"categories":["Awesome Vue.js [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)","JavaScript","UI组件","Awesome Vue.js"],"sub_categories":["Libraries \u0026 Plugins"],"readme":"# vue-waves\n\nA Vue.js version of waves based on https://github.com/fians/Waves.\n\n## How to Use\n\n### SetUp\n\n```bash\nnpm i -S vue-waves\n```\n\nthen in the js file\n\n```javascript\nimport Vue from 'vue';\nimport VueWaves from 'vue-waves';\n\nVue.use(VueWaves);\n```\n\n### Config\n\n```javascript\nVue.use(VueWaves, {\n  name: 'waves'   // Vue指令名称\n  duration: 500,  // 涟漪效果持续时间\n  delay: 200      // 延时显示涟漪效果\n})\n```\n\n### Usage\n\n```html\n\u003cbutton v-waves.button\u003eVue-Waves\u003c/button\u003e\n\u003ci class=\"fa fa-times\" v-waves.circle\u003e\u003c/i\u003e\n```\n\nVue directive:\n```\nv-waves.button  按钮\nv-waves.circle  圆形\nv-waves.block   块\nv-waves.float   阴影效果\nv-waves.light   亮色涟漪\nv-waves.classic ??\n```\n\nDemo:\n\n    git clone https://github.com/Teddy-Zhu/vue-waves.git\n    open vue-waves/demo/index.html\n\n# Contributes\n\n```\n$ npm i\n$ npm run build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTeddy-Zhu%2Fvue-waves","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTeddy-Zhu%2Fvue-waves","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTeddy-Zhu%2Fvue-waves/lists"}