Socket
Socket
Sign inDemoInstall

@flk/animator

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @flk/animator

Animate.css animation on elements


Version published
Weekly downloads
7
increased by600%
Maintainers
1
Install size
6.55 kB
Created
Weekly downloads
 

Readme

Source

flk-animator

An animation package for elements animations.

This package mainly uses Animate.css

Installation

flk install flk-animation

Usage

Add to any element you want to animate animate class with animate attribute with any of Animate.css classes.

Example


<h1 class="animate" animate="fadeInUpBig">Hello, World</h1>

<!-- Or using dynamic values -->

<h1 class="animate" [animate]="this.defaultAnimation">Hello, World</h1>

Speed

By default the animation has a normal speed but you can change it to slow or fast using the speed attribute.


<h1 class="animate" animate="fadeIn" speed="fast">Hello, World</h1>

Random

If you want to display elements randomly use the random value


<h1 class="animate" animate="random">Hello, World</h1>

FAQs

Last updated on 01 May 2020

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc