mouse-animation-effect

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

Example

https://lzs911.github.io/