# @flk/animator

> Animate.css animation on elements

Latest version **1.3.3** (published 2020-05-01) · 0 weekly downloads

## Install

```sh
npm install @flk/animator
pnpm add @flk/animator
yarn add @flk/animator
bun add @flk/animator
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.3 |
| Published | 2020-05-01 |
| First published | 2019-09-17 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Hasan Zohdy |
| Maintainers | hassanzohdy |

## Links

- npm: https://www.npmjs.com/package/@flk/animator
- Repository: https://github.com/falakjs/flk-animator
- Homepage: https://github.com/falakjs/flk-animator#readme
- Issues: https://github.com/falakjs/flk-animator/issues
- npm.io page: https://npm.io/package/@flk/animator

## Recent versions

- 1.3.3 (latest) — 2020-05-01
- 1.3.2 — 2020-02-29
- 1.3.1 — 2020-02-27
- 1.3.0 — 2019-12-31
- 1.0.0 — 2019-09-17
- 0.1.10 — 2019-09-17

## README

# flk-animator

An animation package for elements animations.

This package mainly uses [Animate.css](https://daneden.github.io/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

```html

<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.


```html

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

# Random
If you want to display elements randomly use the `random` value  

```html

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

---
_Source: https://npm.io/package/@flk/animator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
