emoji-mouse-trace
Version:
Trace mouse movement with a trail of emojis or images.
36 lines (29 loc) • 1.03 kB
Markdown
# Emoji Mouse Trace
Trace mouse movement with a trail of emojis or images.
[](https://choosealicense.com/licenses/mit/)
[](https://unpkg.com/emoji-mouse-trace@1.0.0/index.js)
[](https://www.npmjs.com/package/emoji-mouse-trace)
## Getting started 🚀
Install the module via npm
```
npm i -s emoji-mouse-trace
```
Call the emojiMouseTrace function within your template or js
```javascript
emojiMouseTrace()
```
## API
| Parameter | value | default |
| ------------- |:-------------:|:-------------:|
| traceLength | int | 20 |
| imageSize | int | 30 |
| images | url | none |
| fadeOut | boolean | false |
| mode | emoji or images | emoji |
| fontFamily | - | Arial |
| fontSize | px | 30px |
| emojis | string | random emojis |
## Example
```
Just run example.html
```