mouse-element
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

mouse-element

提供一个简单的鼠标小动画

🔨 Install

## 安装依赖
npm install mouse-element

## 导入组件
import { createMouseAnimation } from 'createMouseAnimation'

🌈 Usage

<main w-full h-full @mousemove="e => createMouseAnimation(e, { backgroundColor: 'yellow', timeout: 1000 })">
</main>

🚀 Props

  • backgroundColor: 背景颜色
  • timeout: 动画时长
  • width: 宽度
  • height: 高度

🍵

请我喝一杯咖啡

❓ 问题

issues

依赖

Readme

Keywords

Package Sidebar

Install

npm i mouse-element

Weekly Downloads

1

Version

0.0.7

License

MIT

Unpacked Size

4.63 kB

Total Files

5

Last publish

Collaborators

  • simon_he