Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simon-he95/mouse-element
提供一个简单的鼠标动画
https://github.com/simon-he95/mouse-element
lazy-js-utils mouse-element
Last synced: 17 days ago
JSON representation
提供一个简单的鼠标动画
- Host: GitHub
- URL: https://github.com/simon-he95/mouse-element
- Owner: Simon-He95
- Created: 2022-09-16T16:55:21.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-05T09:27:37.000Z (about 1 year ago)
- Last Synced: 2024-11-24T20:49:25.927Z (about 1 month ago)
- Topics: lazy-js-utils, mouse-element
- Language: TypeScript
- Homepage: https://mouse-animation-demo.netlify.app/
- Size: 98.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
## mouse-element
提供一个简单的鼠标小动画## 🔨 Install
```
## 安装依赖
npm install mouse-element## 导入组件
import { createMouseAnimation } from 'createMouseAnimation'```
## 🌈 Usage
```vue
createMouseAnimation(e, { backgroundColor: 'yellow', timeout: 1000 })">```
## 🚀 Props
- backgroundColor: 背景颜色
- timeout: 动画时长
- width: 宽度
- height: 高度## :tea:
[请我喝一杯咖啡](https://github.com/Simon-He95/sponsor)## :question: 问题
[issues](https://github.com/Simon-He95/mouse-element/issues)## 依赖
- [lazy-js-utils](https://github.com/Simon-He95/lazy-js-utils)