{"id":13565160,"url":"https://github.com/EvodiaAut/vue-marquee-text-component","last_synced_at":"2025-04-03T22:30:44.009Z","repository":{"id":33169434,"uuid":"153907187","full_name":"EvodiaAut/vue-marquee-text-component","owner":"EvodiaAut","description":"[CSS GPU Animation] Marquee Text for vuejs","archived":false,"fork":false,"pushed_at":"2024-01-09T10:55:00.000Z","size":2206,"stargazers_count":474,"open_issues_count":6,"forks_count":44,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-25T12:11:09.882Z","etag":null,"topics":["component","javascript","marqueetext","vue","vue-component","vue2","vuejs","vuejs2"],"latest_commit_sha":null,"homepage":"https://evodiaaut.github.io/vue-marquee-text-component/","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/EvodiaAut.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":"https://liberapay.com/EvodiaAut"}},"created_at":"2018-10-20T13:14:48.000Z","updated_at":"2025-03-04T07:46:18.000Z","dependencies_parsed_at":"2024-06-18T15:35:00.158Z","dependency_job_id":"467dc5b2-ddf5-4029-aa7a-49ed695e19eb","html_url":"https://github.com/EvodiaAut/vue-marquee-text-component","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvodiaAut%2Fvue-marquee-text-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvodiaAut%2Fvue-marquee-text-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvodiaAut%2Fvue-marquee-text-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvodiaAut%2Fvue-marquee-text-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EvodiaAut","download_url":"https://codeload.github.com/EvodiaAut/vue-marquee-text-component/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246596548,"owners_count":20802844,"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":["component","javascript","marqueetext","vue","vue-component","vue2","vuejs","vuejs2"],"created_at":"2024-08-01T13:01:41.861Z","updated_at":"2025-04-03T22:30:43.983Z","avatar_url":"https://github.com/EvodiaAut.png","language":"Vue","funding_links":["https://liberapay.com/EvodiaAut"],"categories":["Vue"],"sub_categories":[],"readme":"# vue-marquee-text-component\n\n\u003e [[CSS GPU Animation](https://www.smashingmagazine.com/2016/12/gpu-animation-doing-it-right/)] Marquee Text for vuejs\n\n[![npm](https://img.shields.io/npm/v/vue-marquee-text-component.svg?style=for-the-badge)](https://www.npmjs.com/package/vue-marquee-text-component)\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg?style=for-the-badge)](https://github.com/EvodiaAut/vue-marquee-text-component/blob/master/LICENSE.md)\n[![npm](https://img.shields.io/npm/dt/vue-marquee-text-component.svg?style=for-the-badge)](https://www.npmjs.com/package/vue-marquee-text-component)\n\n## Demo\n\n[Demo here](https://evodiaaut.github.io/vue-marquee-text-component/)\n\n## Install\n[Vue 3 (master)](https://github.com/EvodiaAut/vue-marquee-text-component) | [Vue 2 (v1)](https://github.com/EvodiaAut/vue-marquee-text-component/tree/v1)\n\n`npm install vue-marquee-text-component` or `yarn add vue-marquee-text-component`\n\n## Usage\n\nThe most common use case is to register the component globally.\n\n```js\n// in your main.js or similar file\nimport Vue from 'vue'\nimport MarqueeText from 'vue-marquee-text-component'\n\nVue.component('marquee-text', MarqueeText)\n```\n\nAlternatively you can do this to register the components:\n\n```js\n// HelloWorld.vue\nimport MarqueeText from 'vue-marquee-text-component'\n\nexport default {\n  name: 'HelloWorld',\n  components: {\n    MarqueeText\n  }\n}\n```\n\nOn your page you can now use html like this:\n\n```html\n\u003c!-- simple marquee text --\u003e\n\u003cmarquee-text\u003e\n  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna.\n\u003c/marquee-text\u003e\n\n\u003c!-- short text need more duplicates --\u003e\n\u003cmarquee-text :repeat=\"10\"\u003e\n  Short text =(\n\u003c/marquee-text\u003e\n\n\u003c!-- slow duration --\u003e\n\u003cmarquee-text :duration=\"30\"\u003e\n  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna.\n\u003c/marquee-text\u003e\n```\n\n## Props\n\n|Prop|Type|Default|Description\n|-|-|-|-|\n|duration|Number|15|Animation Duration\n|repeat|Number|2|Number of repeat the Slot (It's important for to short content)\n|paused|Boolean|false|The property specifies whether the animation is running or paused\n|reverse|Boolean|false|Set animation-direction to reverse\n\n## Important information for dynamic content\nIf you change the content you need reload the component. For this use property `:key` [see more](https://vuejs.org/v2/api/#key)\n```html\n\u003c!-- parse a unique key for reload the component  --\u003e\n\u003cmarquee-text :key=\"currentTrack.id\"\u003e\n  {{ currentTrack.title }}\n\u003c/marquee-text\u003e\n```\n\n## Build Setup\n\n``` bash\nyarn install\nyarn run serve\nyarn run build\nyarn run lint\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEvodiaAut%2Fvue-marquee-text-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEvodiaAut%2Fvue-marquee-text-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEvodiaAut%2Fvue-marquee-text-component/lists"}