0.1.1 • Published 10 years ago
knockout-css3-animation v0.1.1
knockout-css3-animation
A Knockout binding for easily animating elements via CSS3 animations
Example
Options
class: The class name to toggle on and off. This will be immediately toggled on and off, so you likely will want to have some similar styles between yourexitclass and the main class.when: Some truthy/falsy condition that determines if theclassis on or off. Can be an observable or any expression with observables behind it.enter: (optional) Class to set when entering. Defaults to${class}-enterexit: (optional) Class to set when exiting. Defaults to${class}-exit
Installation
via bower
bower install knockout-css3-animationor via npm
npm install knockout-css3-animation