Expand description
§animato-dioxus
First-class Dioxus integration for Animato.
This crate exposes Dioxus Signal-backed hooks, style helpers,
presence/list/transition components, gesture bindings, platform detection,
and portable native-window animation handles. The animation engines remain
the renderer-agnostic Animato tween, spring, timeline, keyframe, and physics
types; Dioxus only owns reactive state and component rendering.
Re-exports§
pub use presence::AnimatePresence;pub use presence::AnimatePresence;pub use transition::PageTransition;pub use transition::PageTransition;
Structs§
- Animated
Style - CSS property bag used by Animato Dioxus helpers.
- Drag
Config - Draggable element configuration.
- Drag
Constraints - Constraints applied to drag position.
- Drag
Handle - Handle returned by
use_drag. - Gesture
Config - Gesture recognition thresholds.
- Keyframe
Handle - Control handle for a signal-backed keyframe track.
- Motion
Handle - All-in-one motion handle.
- Pinch
Handle - Handle returned by
use_pinch. - Platform
Adapter - Detects the current Dioxus rendering platform.
- Presence
Animation - Style transition used by
AnimatePresenceand page/list helpers. - Scroll
Config - Scroll progress configuration.
- Scroll
Progress Calculator - Pure scroll progress calculator used by hooks and tests.
- Scroll
Trigger Config - Scroll trigger configuration.
- Scroll
Trigger Handle - Scroll trigger handle.
- Spring
Handle - Control handle for a Dioxus signal-backed
SpringN. - Swipe
Config - Swipe detection configuration.
- Swipe
Event - Swipe event emitted by
use_swipe. - Timeline
Handle - Control handle for a Dioxus signal-backed
Timeline. - Tween
Handle - Control handle for a Dioxus signal-backed
Tween.
Enums§
- Animation
Backend - Animation backend selected for the active Dioxus target.
- Drag
Axis - Axis filter for drag movement.
- Gesture
- Gesture emitted by
GestureRecognizer. - Motion
Config - Motion transition configuration.
- Scroll
Axis - Scroll axis used by scroll progress helpers.
- Swipe
Direction - Direction of a recognized swipe.
- Transition
Mode - Page transition strategy.
Functions§
- Animate
Presence - Mount/hide transition wrapper.
- Animated
For - Render a keyed list with animation metadata.
- Page
Transition - Route-change transition wrapper.
- css_
spring - Animate CSS properties with a spring and return a style-string signal.
- css_
tween - Animate CSS properties with a tween and return a style-string signal.
- route_
transition_ key - Return an empty route key when router support is not enabled.
- stable_
key - Convert any hashable key into a deterministic string key.
- use_
drag - Create a draggable element hook.
- use_
gesture - Listen for recognized pointer gestures on a target.
- use_
keyframes - Create a signal-backed keyframe track hook.
- use_
motion - Create an all-in-one motion hook.
- use_
pinch - Create a pinch-zoom hook.
- use_
scroll_ progress - Return scroll progress for a target.
- use_
scroll_ trigger - Return a scroll trigger handle for a target.
- use_
scroll_ velocity - Return the current scroll velocity in pixels per second.
- use_
spring - Create a signal-backed spring hook.
- use_
swipe - Listen for swipe gestures on a target.
- use_
timeline - Create a signal-backed timeline hook.
- use_
tween - Create a signal-backed tween hook.