Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 757 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 757 Bytes

Animation component for Dioxus

This is in early days but will see a crates.io release once the API is finalized.

  • To use, declare a controller with use_flipbook_signal() and pass it to the animation component.
  • Put any items you wish to see transformed inside the component, and set their bounds to fill the component.
  • create an animation with AnimationBuilder.
    • You can set any easing type available on https://easings.net/ thanks to the simple-easing crate used here.
    • no need to specify a start location, unlike css animations
  • use playNow(animation_builder) or queue(animation_builder) on the controller and sit back and watch the animations
Screen.Recording.2024-07-09.at.12.09.26.AM.mov