An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          



Easy cursor animations for Javascript

Lightweight, customizable and ready by default.




Website
ยท
Documentation
ยท
Instagram




Cooked by Numonu ๐Ÿ‘จโ€๐Ÿณ


## 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).