Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

提供一个简单的鼠标动画

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)