New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

fadin

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fadin

[![Build Status](https://travis-ci.org/dev-warner/fadin.svg?branch=master)](https://travis-ci.org/dev-warner/fadin) [![Coverage Status](https://coveralls.io/repos/github/dev-warner/fadin/badge.svg)](https://coveralls.io/github/dev-warner/fadin) <a href="#

latest
Source
npmnpm
Version
1.7.1
Version published
Maintainers
1
Created
Source

Fadin

Build Status Coverage Status code style: prettier npm version MIT

Extremely light fade in animation library. 3kb in size ungzipped :rocket:

Getting Started

run in your terminal

$ npm i fadin
const fadin = require('fadin')

document.addEventListener('DOMContentLoaded', () => {
  fadin('.my-class', { delay: 200 })
})
<div class="my-class"></div>
<div class="my-class" data-delay="0.4s"></div>
<div class="my-class"></div>
.my-class {
    opacity: 0;
    transition: 0.3s opacity;
}

#Todo list

  • add more documation comments / clear up
  • add options to fade in my direction
  • make more performant/smooth
  • let options be functions and values

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Free Software, Hell Yeah!

FAQs

Package last updated on 18 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts