{"id":16601758,"url":"https://github.com/biyuqi/vue-simple-drag","last_synced_at":"2025-07-23T12:10:04.622Z","repository":{"id":96719372,"uuid":"142417563","full_name":"BiYuqi/vue-simple-drag","owner":"BiYuqi","description":":construction: 一个拖拽小插件，兼容vue2.x","archived":false,"fork":false,"pushed_at":"2019-07-12T06:57:23.000Z","size":81,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-16T08:22:38.477Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/BiYuqi.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}},"created_at":"2018-07-26T09:14:24.000Z","updated_at":"2019-07-12T06:57:25.000Z","dependencies_parsed_at":"2023-04-14T21:48:05.321Z","dependency_job_id":null,"html_url":"https://github.com/BiYuqi/vue-simple-drag","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BiYuqi/vue-simple-drag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BiYuqi%2Fvue-simple-drag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BiYuqi%2Fvue-simple-drag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BiYuqi%2Fvue-simple-drag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BiYuqi%2Fvue-simple-drag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BiYuqi","download_url":"https://codeload.github.com/BiYuqi/vue-simple-drag/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BiYuqi%2Fvue-simple-drag/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266673586,"owners_count":23966379,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-12T00:19:12.490Z","updated_at":"2025-07-23T12:10:04.590Z","avatar_url":"https://github.com/BiYuqi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### 插件待发布\n```js\n部分细节需要完善\n```\n### 预计使用方式(本地已经测试通过)\n```js\nnpm i vue-simple-drag\n\n// 入口文件引入\nimport VueDrag from 'vue-simple-drag'\n\nVue.use(VueDrag)\n```\n\n```html\n\u003c!-- 该方式默认全屏幕拖拽 --\u003e\n\u003cdiv v-drag\u003e\n  我是无忧无虑的拖拽狂\n\u003c/div\u003e\n\n\u003c!-- 该方式支持限定范围 --\u003e\n分别是 top right bottom left\n\u003cdiv v-drag=\"[90, 0, 0, 230]\"\u003e\n  我是被限制的拖拽狂\n\u003c/div\u003e\n```\n### 细节\n所拖拽元素必须是fixed或者absolute定位，需要手动自己维护\n### TODO\n  - 完善部分功能\n  - 移除不需要的npm包\n  - 编写使用文档\n  - 测试demo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiyuqi%2Fvue-simple-drag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbiyuqi%2Fvue-simple-drag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiyuqi%2Fvue-simple-drag/lists"}