mouse-animation-effect
v1.0.6
Published
## INSTALL
Downloads
8
Readme
A Tool Library for Adding Mouse Animation Effects
INSTALL
npm install mouse-animation-effect
//or
yarn add mouse-animation-effect
USAGE
import generateMouseEffect from 'mouse-animation-effect';
import "mouse-animation-effect/dist/index.css";
const { initMouseEffect, removeMouseEffect } = generateMouseEffect({});
Options
| name | defaultValue | type | description | | :-: | :-: | :-: | :-: | | content | ❤ | string | content displayed after mouse click | | delay | 1900 | number | displayed content duration |