An Interest In:
Web News this Week
- April 20, 2024
- April 19, 2024
- April 18, 2024
- April 17, 2024
- April 16, 2024
- April 15, 2024
- April 14, 2024
August 25, 2021 03:16 pm GMT
Original Link: https://dev.to/swapnil1104/animation-wrapper-view-declarative-animations-with-imperative-controls-533k
animation-wrapper-view, declarative animations with imperative controls
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.
Original Link: https://dev.to/swapnil1104/animation-wrapper-view-declarative-animations-with-imperative-controls-533k
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To