@itsfuad/html-animation
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Animation

HTML element animation library

Methods:

  • fadeIn
  • fadeOut
  • flyIn
  • flyOut

Use:

No need to call any constructor.

Just call these methods over any HTMLElement type. Example

  import { flyIn } from '...';
  const elem = document.getElementById('myElem');
  flyIn(elem, {x: 0, y: 500}, 1000, true);

import the library via esmodule or add via script tag. To use the smalled file, use the minified version. Thanks

Readme

Keywords

Package Sidebar

Install

npm i @itsfuad/html-animation

Weekly Downloads

2

Version

1.0.3

License

ISC

Unpacked Size

341 kB

Total Files

9

Last publish

Collaborators

  • itsfuad