{"id":13674864,"url":"https://github.com/xlsdg/vue-countup-v2","last_synced_at":"2025-04-12T23:29:53.051Z","repository":{"id":15332060,"uuid":"77916729","full_name":"xlsdg/vue-countup-v2","owner":"xlsdg","description":"Vue.js component wrap for countUp.js","archived":false,"fork":false,"pushed_at":"2022-06-14T10:36:00.000Z","size":88,"stargazers_count":381,"open_issues_count":10,"forks_count":56,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-31T04:02:27.880Z","etag":null,"topics":["countup","vue","vue-component","vue-countup"],"latest_commit_sha":null,"homepage":"https://inorganik.github.io/countUp.js/","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/xlsdg.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":"2017-01-03T12:49:40.000Z","updated_at":"2024-11-20T02:31:12.000Z","dependencies_parsed_at":"2022-08-07T08:01:03.699Z","dependency_job_id":null,"html_url":"https://github.com/xlsdg/vue-countup-v2","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlsdg%2Fvue-countup-v2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlsdg%2Fvue-countup-v2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlsdg%2Fvue-countup-v2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlsdg%2Fvue-countup-v2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xlsdg","download_url":"https://codeload.github.com/xlsdg/vue-countup-v2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647155,"owners_count":21139080,"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":["countup","vue","vue-component","vue-countup"],"created_at":"2024-08-02T11:01:05.390Z","updated_at":"2025-04-12T23:29:53.027Z","avatar_url":"https://github.com/xlsdg.png","language":"Vue","funding_links":[],"categories":["Vue","Awesome Vue.js [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)"],"sub_categories":["Libraries \u0026 Plugins"],"readme":"# vue-countup-v2\n\n\u003e Vue.js component wrap for CountUp.js\n\n## Installation\n\n```bash\n$ npm install --save countup.js vue-countup-v2\n```\n\n## Usage\n\n``` vue\n\u003ctemplate\u003e\n  \u003cdiv class=\"iCountUp\"\u003e\n    \u003cICountUp\n      :delay=\"delay\"\n      :endVal=\"endVal\"\n      :options=\"options\"\n      @ready=\"onReady\"\n    /\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript type=\"text/babel\"\u003e\n  import ICountUp from 'vue-countup-v2';\n  export default {\n    name: 'demo',\n    components: {\n      ICountUp\n    },\n    data() {\n      return {\n        delay: 1000,\n        endVal: 120500,\n        options: {\n          useEasing: true,\n          useGrouping: true,\n          separator: ',',\n          decimal: '.',\n          prefix: '',\n          suffix: ''\n        }\n      };\n    },\n    methods: {\n      onReady: function(instance, CountUp) {\n        const that = this;\n        instance.update(that.endVal + 100);\n      }\n    }\n  };\n\u003c/script\u003e\n\n\u003cstyle scoped\u003e\n  .iCountUp {\n    font-size: 12em;\n    margin: 0;\n    color: #4d63bc;\n  }\n\u003c/style\u003e\n```\n\n## Properties\n\n* `delay` **[Number]**\n\n  Optional;\n\n* `endVal` **[Number]**\n\n  Required; The value you want to arrive at.\n\n* `options` **[Object]**\n\n  Optional; Formatting/easing options object.\n\nSee more [countUp.js](https://github.com/inorganik/countUp.js)\n\n## Static Methods\n\n* `start`\n* `pauseResume`\n* `reset`\n* `update`\n\nLearn more [countUp.js](https://github.com/inorganik/countUp.js)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlsdg%2Fvue-countup-v2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxlsdg%2Fvue-countup-v2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlsdg%2Fvue-countup-v2/lists"}