{"id":17033536,"url":"https://github.com/websmurf/vue-progress-button","last_synced_at":"2025-04-12T12:32:09.104Z","repository":{"id":57394808,"uuid":"97805064","full_name":"websmurf/vue-progress-button","owner":"websmurf","description":"Animated button for VueJS","archived":false,"fork":false,"pushed_at":"2018-05-08T08:01:02.000Z","size":310,"stargazers_count":75,"open_issues_count":2,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T07:36:33.296Z","etag":null,"topics":["animation","button","progress","vuejs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/websmurf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-07-20T07:34:14.000Z","updated_at":"2024-03-04T07:14:22.000Z","dependencies_parsed_at":"2022-09-09T16:51:25.566Z","dependency_job_id":null,"html_url":"https://github.com/websmurf/vue-progress-button","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/websmurf%2Fvue-progress-button","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/websmurf%2Fvue-progress-button/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/websmurf%2Fvue-progress-button/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/websmurf%2Fvue-progress-button/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/websmurf","download_url":"https://codeload.github.com/websmurf/vue-progress-button/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248147401,"owners_count":21055541,"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":["animation","button","progress","vuejs"],"created_at":"2024-10-14T08:35:09.073Z","updated_at":"2025-04-12T12:32:08.707Z","avatar_url":"https://github.com/websmurf.png","language":"JavaScript","funding_links":[],"categories":["UI组件","Components \u0026 Libraries","UI Components [🔝](#readme)","UI Components"],"sub_categories":["装载机","UI Components","Loader"],"readme":"# Notify\n\n[![Build Status](https://travis-ci.org/websmurf/vue-progress-button.svg?branch=master)](https://travis-ci.org/websmurf/vue-progress-button)\n[![Coverage Status](https://coveralls.io/repos/github/websmurf/vue-progress-button/badge.svg?branch=master)](https://coveralls.io/github/websmurf/vue-progress-button?branch=master)\n\nA simple button that displays progress. Compatible with Vue 2.x\n\nInspired by the button animations displayed on [https://tympanus.net/Development/ProgressButtonStyles/](https://tympanus.net/Development/ProgressButtonStyles/)\n\n## Install\n\n```\n$ npm install vue-progress-button --save\n```\n\n## Usage\n\nInside your component:\n\nTo get the most basic version of a progress button\n```html\n\u003cprogress-button\u003eButton\u003c/progress-button\u003e\n```\n\nThe progress can be configured with another filling color. Simply add the fill-color property to the progress button element and give a color to it.\n\n```html\n\u003cprogress-button name=\"fillColor\" class=\"btn btn-primary mr-1 mb-1\" fill-color=\"#fff\"\u003eOther fill color\u003c/progress-button\u003e\n```\n\nThe progress also be modified in terms of duration of the progress, position of the progress line\n```html\n\u003cprogress-button name=\"duration\" class=\"btn btn-info mr-1 mb-1\" :duration=\"10000\"\u003e10 second animation\u003c/progress-button\u003e\n\u003cprogress-button name=\"bottom\" class=\"btn btn-success mr-1 mb-1\" :height=\"5\" position=\"bottom\"\u003eBottom fill\u003c/progress-button\u003e\n\u003cprogress-button name=\"bottom\" class=\"btn btn-warning mr-1 mb-1\" :height=\"5\" position=\"top\"\u003eTop fill\u003c/progress-button\u003e\n```\n\n```js\nimport Button from 'vue-progress-button'\n\nexport default {\n  components: {\n    'progress-button': Button\n  }\n}\n```\n\n## Configuration options\n\nOption    | Type   | Default | Description  \n--------- | ------ | ------- | ------------\nfillColor | String | '#555'  | The color of the progress bar filling the button\nduration  | Number | 2000    | The duration of the progress bar filling the entire button in milliseconds\nheight    | Number | 100     | The height of the progress bar in px\nposition  | String | 'fill'  | The position of the progress bar in the button, currently possible: top, bottom. Defaults to fill that fills the entire button\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebsmurf%2Fvue-progress-button","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebsmurf%2Fvue-progress-button","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebsmurf%2Fvue-progress-button/lists"}