https://github.com/numonu/easy-motion
Practica de crear un paquete para npm
https://github.com/numonu/easy-motion
Last synced: about 1 month ago
JSON representation
Practica de crear un paquete para npm
- Host: GitHub
- URL: https://github.com/numonu/easy-motion
- Owner: Numonu
- Created: 2023-06-05T14:24:17.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-06-06T04:15:13.000Z (about 3 years ago)
- Last Synced: 2025-04-02T10:37:22.441Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Easy cursor animations for Javascript
Lightweight, customizable and ready by default.
## Features
- ๐ฅ **Hot by default**
- ๐ฉ **Easily Customizable**
- โ
**Accessible**
## Installation
#### With NPM
```sh
npm install easy-motion
```
## Getting Started
It's simple, just import the `EasyElement` object and enter as a parameter the dom element you want to animate, that's it!
```js
import MotionElement from 'easy-motion';
const boxElement = document.querySelector(".box");
const motionBox = new MotionElement(boxElement);
```
## Documentation
Find the full API reference on [official documentation](https://numonu.github.io/easy-motion).