{"id":26235973,"url":"https://github.com/helti/parabola-animation","last_synced_at":"2025-08-31T11:34:49.927Z","repository":{"id":57318750,"uuid":"139312445","full_name":"HelTi/parabola-animation","owner":"HelTi","description":":+1: javascript parabola animation","archived":false,"fork":false,"pushed_at":"2018-07-11T14:58:58.000Z","size":88,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-10T13:49:39.951Z","etag":null,"topics":["animation","buy-cart-animation","parabola"],"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/HelTi.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}},"created_at":"2018-07-01T08:29:35.000Z","updated_at":"2022-11-22T12:49:45.000Z","dependencies_parsed_at":"2022-08-25T22:42:26.468Z","dependency_job_id":null,"html_url":"https://github.com/HelTi/parabola-animation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelTi%2Fparabola-animation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelTi%2Fparabola-animation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelTi%2Fparabola-animation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelTi%2Fparabola-animation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HelTi","download_url":"https://codeload.github.com/HelTi/parabola-animation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243330708,"owners_count":20274111,"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","buy-cart-animation","parabola"],"created_at":"2025-03-13T03:19:10.638Z","updated_at":"2025-03-13T03:19:11.212Z","avatar_url":"https://github.com/HelTi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# parabolaAnimation.js\n\n#### 项目介绍\njs 抛物线动画 for mobile\n\n##### install\n\n```js\nnpm i parabola-animation\n\nimport parabolaAnimation from 'parabola-animation'\n//or\n\u003cscript src=\"../dist/parabola-animation.js\"\u003e\u003c/script\u003e\n\n```\n\n##### use\n```js\n/**\n * element:dom (如果是null,则默认使用圆形dom; 自定义dom:htmlString:'\u003cdiv\u003e...\u003c/div\u003e' )\n * /\n parabolaAnimation(element,options)\n let p = new parabolaAnimation(null,{\n        startPos:{\n            left:10, //相对屏幕的left\n            top:10   //相对屏幕的top\n        },\n        endPos:{\n            left:100,\n            top:100\n        },\n        endFunc:function(){\n            p.destroy(); //结束时的callback\n        }\n    })\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelti%2Fparabola-animation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelti%2Fparabola-animation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelti%2Fparabola-animation/lists"}