This content originally appeared on DEV Community and was authored by Swapnil Tiwari
animation-wrapper-view is a collection of a well-defined set of component-level animations, that a developer can utilize just by providing some configurations. AnimationWrapperView will add plug and play type support to the already robust Animated API and will take care of all the intricate details of each animation type.
Features
- Power animation payload from anywhere (backend ? ?)
- Extremely light-weight (4KB gzipped + minified).
- Out-of-box support for iOS, Android and RNW.
- Great selection of well defined animations.
- Declarative transformation animations with JSON.
- Imperative controls to the animation state. (start/pause/reset)
Check out this snack, play around with the library.
Snack Link: https://snack.expo.dev/@swapnil1104/animationwrapperview-playground
Library Link: https://github.com/flipkart-incubator/animation-wrapper-view
People looking for solving complex animation use-cases with JSON-based payload, potentially server-driven, can definitely have a look! Looking forward to any feedback/feature requests!
Cheers.
This content originally appeared on DEV Community and was authored by Swapnil Tiwari
Swapnil Tiwari | Sciencx (2021-08-25T15:16:10+00:00) animation-wrapper-view, declarative animations with imperative controls. Retrieved from https://www.scien.cx/2021/08/25/animation-wrapper-view-declarative-animations-with-imperative-controls/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.