1.2.1 • Published 3 years ago

fade-animations v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

npm

fade-animations

A small library for easy fade in fade in and fade out effects.

Install

NPM

npm i fade-animations

CDN

<link rel="stylesheet" href="https://unpkg.com/fade-animations/dist/index.min.css">
<script src="https://unpkg.com/fade-animations/dist/index.min.js"></script>

Usage

fadeIn

import { fadeIn } from 'fade-animations'

const element = document.getElementById('elementId')
fadeIn(element)

fadeOut

import { fadeOut } from 'fade-animations'

const element = document.getElementById('elementId')
fadeOut(element)
1.2.1

3 years ago

1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago