{"id":13535820,"url":"https://github.com/jkchao/vue-loading","last_synced_at":"2025-04-12T19:43:33.454Z","repository":{"id":57396408,"uuid":"89768574","full_name":"jkchao/vue-loading","owner":"jkchao","description":"😄 vue-loading 😊","archived":false,"fork":false,"pushed_at":"2018-12-22T02:14:31.000Z","size":1778,"stargazers_count":473,"open_issues_count":10,"forks_count":64,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-10-17T18:56:27.639Z","etag":null,"topics":["loading","vue"],"latest_commit_sha":null,"homepage":"https://jkchao.github.io/vue-loading/","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jkchao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-29T06:38:59.000Z","updated_at":"2024-10-17T08:23:50.000Z","dependencies_parsed_at":"2022-09-19T10:51:21.603Z","dependency_job_id":null,"html_url":"https://github.com/jkchao/vue-loading","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/jkchao%2Fvue-loading","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkchao%2Fvue-loading/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkchao%2Fvue-loading/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkchao%2Fvue-loading/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jkchao","download_url":"https://codeload.github.com/jkchao/vue-loading/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248625479,"owners_count":21135512,"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":["loading","vue"],"created_at":"2024-08-01T09:00:28.898Z","updated_at":"2025-04-12T19:43:33.427Z","avatar_url":"https://github.com/jkchao.png","language":"Vue","funding_links":[],"categories":["UI组件","Vue"],"sub_categories":[],"readme":"# vue-loading-template\n\n--- \n\nUse SVG for loading.\n\nDemo: https://jkchao.github.io/vue-loading/\n\n## Start\n\n```bash\nnpm install vue-loading-template --save\n```\n\n## Options\n\n \u003ctable\u003e\n \t\u003cthead\u003e\n    \u003ctr\u003e\n    \u003cth\u003eProp\u003c/th\u003e\n    \u003cth\u003eType\u003c/th\u003e\n    \u003cth\u003eRequired\u003c/th\u003e\n    \u003cth\u003eDefault\u003c/th\u003e\n    \u003cth\u003eAvailable values\u003c/th\u003e\n    \u003c/tr\u003e\n  \u003c/thead\u003e\n\t\u003ctbody\u003e\n    \t\u003ctr\u003e\n        \u003ctd\u003etype\u003c/td\u003e\n        \u003ctd\u003eString\u003c/td\u003e\n        \u003ctd\u003efalse\u003c/td\u003e\n        \u003ctd\u003eballs\u003c/td\u003e\n        \u003ctd\u003eballs, bars, beat, bubbles, cylon, spin, spiningDubbles, barsCylon\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n        \u003ctd\u003ecolor\u003c/td\u003e\n        \u003ctd\u003eString\u003c/td\u003e\n        \u003ctd\u003efalse\u003c/td\u003e\n        \u003ctd\u003e#5ac1dd\u003c/td\u003e\n        \u003ctd\u003e\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n        \u003ctd\u003esize\u003c/td\u003e\n        \u003ctd\u003eObject\u003c/td\u003e\n        \u003ctd\u003efalse\u003c/td\u003e\n        \u003ctd\u003e{ width: '30px', height: '30px' }\u003c/td\u003e\n        \u003ctd\u003e\u003c/td\u003e\n        \u003c/tr\u003e\n    \u003c/tbody\u003e\n\u003c/table\u003e\n\n## Example in SPA\n\n```vue\n \u003ctemplate\u003e\n    \u003cdiv\u003e\n       \u003ch2\u003ebars\u003c/h2\u003e\n       \u003cvue-loading type=\"bars\" color=\"#d9544e\" :size=\"{ width: '50px', height: '50px' }\"\u003e\u003c/vue-loading\u003e    \n    \u003c/div\u003e\n \u003c/template\u003e\n  \u003cscript\u003e\n  import { VueLoading } from 'vue-loading-template'\n  export default {\n    name: 'app',\n    components: {\n      VueLoading\n    }\n  }\n  \u003c/script\u003e\n```\n\nOr you can install it in your `main.js`\n\n```javascript\n// main.js\nimport Vue from 'vue'\nimport VueLoading from 'vue-loading-template'\nVue.use(VueLoading, /** options **/)\n```\n\nIf you use it in TypeScript, you can:\n\n```typescript\n// main.ts\nimport Vue from 'vue'\nimport vueLoading, { VueLoadingOptions } from 'vue-loading-template'\n\nVue.use\u003cVueLoadingOptions\u003e(VueLoading, /** options **/)\n```\n\nso, you will receive the tip about optional options.\n\n![](http://ovshyp9zv.bkt.clouddn.com/WechatIMG98.jpeg)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkchao%2Fvue-loading","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjkchao%2Fvue-loading","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkchao%2Fvue-loading/lists"}