{"id":20706025,"url":"https://github.com/micorix/vue-mousefollower","last_synced_at":"2025-06-14T13:04:40.796Z","repository":{"id":125735270,"uuid":"100943937","full_name":"micorix/vue-mousefollower","owner":"micorix","description":"Vue plugin for moving background-position on mouse move","archived":false,"fork":false,"pushed_at":"2024-10-24T19:00:12.000Z","size":6,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-23T01:50:05.857Z","etag":null,"topics":["background","mousemove","vue","vue2"],"latest_commit_sha":null,"homepage":"https://npm.im/vue-mousefollower","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/micorix.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-08-21T11:06:59.000Z","updated_at":"2019-08-07T04:58:41.000Z","dependencies_parsed_at":"2025-04-23T02:01:39.425Z","dependency_job_id":null,"html_url":"https://github.com/micorix/vue-mousefollower","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/micorix/vue-mousefollower","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micorix%2Fvue-mousefollower","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micorix%2Fvue-mousefollower/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micorix%2Fvue-mousefollower/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micorix%2Fvue-mousefollower/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/micorix","download_url":"https://codeload.github.com/micorix/vue-mousefollower/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micorix%2Fvue-mousefollower/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259820793,"owners_count":22916546,"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":["background","mousemove","vue","vue2"],"created_at":"2024-11-17T01:21:10.920Z","updated_at":"2025-06-14T13:04:40.775Z","avatar_url":"https://github.com/micorix.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vue MouseFollower\n\n*Vue plugin for moving background on mouse move*  \n*Inspired by https://codepen.io/vajkri/pen/grgQmb*\n\n[DEMO available](https://jsfiddle.net/micorix/v9u8p54e/)\n\n## Instalation\n\nGet from npm:  ```npm install vue-mousefollower``` or from yarn ```yarn add vue-mousefollower```\n\n## Usage\n\n```javascript\n// main.js\nimport Vue from 'vue'\nimport VueMouseFollower from 'vue-mousefollower'\n\nVue.use(VueMouseFollower)\n```\n```html\n\u003c!-- \u003ctemplate\u003e in component.vue --\u003e\n\u003cdiv id=\"bg\" v-mousefollower\u003e\u003c/div\u003e\n```\n```css\n/* \u003cstyle\u003e in component.vue */\n#bg{\n  width:200px;\n  height: 200px;\n  background: url(example-background.png);\n}\n```\n\n## Customizing\n\n- Set custom friction with ```v-mousefollower:[custom number]``` (ex. ```v-mousefollower:60```, default is 30)\n\n- You can use ```v-mf``` instead of ```v-mousefollower```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicorix%2Fvue-mousefollower","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicorix%2Fvue-mousefollower","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicorix%2Fvue-mousefollower/lists"}