Angular wrapper for animate-css-grid
npm install ngx-animate-css-gridAngular wrapper for animate-css-grid
```
npm install --save animate-css-grid
npm install --save ngx-animate-css-grid
Usage
Load the module for your app
`javascript
import { NgxAnimateCssGridModule } from 'ngx-animate-css-grid';
@NgModule({
...
imports: [
...
NgxAnimateCssGridModule
]
})
`
Use directive in you component template
` ` ` ` Available configuration options: ` Events ` Helper functions available through the directive reference For more detailed documentation with all the supported options see: animate-css-gridhtml
Item title
Item body
You can provide optional config and listen to events:html
Item title
Item body
`
{
// int: default is 0 ms
stagger: 100,
// int: default is 250 ms
duration: 500
// string: default is 'easeInOut'
easing: 'backInOut',
}javascript`
(onStart) // called with list of HTMLElements about to animate
(onEnd) // called with list of HTMLElements that just finished animating
`javascript``
forceGridAnimation() // use it to force update after inline style changes
unwrapGrid() // remove animations but not the grid itself