@brizy/motion
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Brizy Motion

Simply library for mouse & scroll effects

Stable Release license

Usage

In TS/JS import { Motions } from "@brizy/motion";

Usage

<h1 class="element">
    Some Element
</h1>
import { Motions } from "@brizy/motion";

// usage
const element = document.querySelector(".element");
const options = {
  type: "vertical",
  direction: "down"
};
const motionInstance = new Motions(element, options);

// motionInstance.update(update options)

Readme

Keywords

Package Sidebar

Install

npm i @brizy/motion

Weekly Downloads

13

Version

0.1.1

License

MIT

Unpacked Size

156 kB

Total Files

115

Last publish

Collaborators

  • nessunskill
  • redd97
  • lift46252
  • oleg-brizy
  • sergiu.bagrin
  • maxval
  • gheorghep