Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andreypelykh/angular-bounce

Animate.css implementation for Angular4
https://github.com/andreypelykh/angular-bounce

angular angular-cli angular5 animatecss animation css

Last synced: about 1 month ago
JSON representation

Animate.css implementation for Angular4

Awesome Lists containing this project

README

        

Angular Bounce
=========

Animate.css for Angular4+;

**AOT compatible**

## Installation

`npm install angular-bounce --save`

## Usage

```typescript
import { BOUNCE_IN, BOUNCE_OUT } from 'angular-bounce';

@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css'],
animations: [
trigger('heroState', [
transition('inactive => active', [
useAnimation(BOUNCE_IN)
]),
transition('active => inactive', [
useAnimation(BOUNCE_OUT)
])
])
]
})

```