Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
August 25, 2021 03:16 pm GMT

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:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To