{"id":13535784,"url":"https://github.com/BosNaufal/vue2-loading-bar","last_synced_at":"2025-04-02T02:31:25.343Z","repository":{"id":65379137,"uuid":"71417301","full_name":"BosNaufal/vue2-loading-bar","owner":"BosNaufal","description":"Simplest Youtube Like Loading Bar Component For Vue 2. http://bosnaufal.github.io/vue2-loading-bar/ ","archived":false,"fork":false,"pushed_at":"2017-01-12T14:05:03.000Z","size":92,"stargazers_count":270,"open_issues_count":4,"forks_count":38,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-30T07:11:39.802Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/BosNaufal.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}},"created_at":"2016-10-20T02:18:43.000Z","updated_at":"2025-02-14T02:42:52.000Z","dependencies_parsed_at":"2023-01-20T08:35:37.785Z","dependency_job_id":null,"html_url":"https://github.com/BosNaufal/vue2-loading-bar","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/BosNaufal%2Fvue2-loading-bar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BosNaufal%2Fvue2-loading-bar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BosNaufal%2Fvue2-loading-bar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BosNaufal%2Fvue2-loading-bar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BosNaufal","download_url":"https://codeload.github.com/BosNaufal/vue2-loading-bar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246743640,"owners_count":20826569,"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-08-01T09:00:27.230Z","updated_at":"2025-04-02T02:31:25.069Z","avatar_url":"https://github.com/BosNaufal.png","language":"JavaScript","funding_links":[],"categories":["Vue","UI组件","Components \u0026 Libraries","UI Components [🔝](#readme)","UI Components"],"sub_categories":["装载机","UI Components","Loader"],"readme":"# Vue 2 Loading Bar\nSimplest Youtube Like Loading Bar Component For [Vue 2](http://vuejs.org/)\n\n[DEMO](https://bosnaufal.github.io/vue2-loading-bar)\n\n## Install\nYou can import [vue2-loading-bar](./src/js/components/index.js) to your vue component file like [this](./src/js/App.js) and process it with your preprocessor.\n\nor\n\nYou can install it via NPM\n```bash\nnpm install vue2-loading-bar\n```\n\nor\n\njust include [vue2-loading-bar.min.js](./build/vue2-loading-bar.min.js) to your view like [this](./index.html)\n\n\n## Usage\nIn Your HTML:\n```html\n\u003cloading-bar\n  id=\"loading-bar-id\"\n  custom-class=\"custom-class\"\n  :on-error-done=\"errorDone\"\n  :on-progress-done=\"progressDone\"\n  :progress=\"progress\"\n  :direction=\"direction\"\n  :error=\"error\" \u003e\n\u003c/loading-bar\u003e\n```\n\n\n## Props\n##### id (String)\ncustom Id in vue2-loading-bar component\n\n##### customClass (String)\ncustom className in vue2-loading-bar component\n\n##### progress (Number)\nThe Progress Percentage of vue2-loading-bar component\n\n##### direction (String)\nThe Animation Direction of vue2-loading-bar component. You can fill it with `'right'` or `'left'` default is `'right'`\n\n##### error (Boolean)\nIndicate the component to showing the error state.\n\n##### onErrorDone (Function, required)\nShould change the parent state when the loading-bar has finished with its error state\n\n##### onProgressDone (Function, required)\nShould netralize the parent's progress state to be `0`\n\n\n## Thank You for Making this useful~\n\n## Let's talk about some projects with me\nJust Contact Me At:\n- Email: [bosnaufalemail@gmail.com](mailto:bosnaufalemail@gmail.com)\n- Skype Id: bosnaufal254\n- twitter: [@BosNaufal](https://twitter.com/BosNaufal)\n\n## License\n[MIT](http://opensource.org/licenses/MIT)\nCopyright (c) 2016 - forever Naufal Rabbani\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBosNaufal%2Fvue2-loading-bar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBosNaufal%2Fvue2-loading-bar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBosNaufal%2Fvue2-loading-bar/lists"}