FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    interactions

    module · ferroui-base · v0.5.0

    module interactions
    

    Microsoft.UI.Composition.Interactions: interaction trackers and the visual interaction sources that drive them with input.

    An InteractionTracker holds a position and a scale. Input redirected by a VisualInteractionSource moves them while interacting, inertia (with its decay rates and inertia modifiers) carries them to rest after a release, and requests (try_update_*) move them from code. Expression animations reference the tracker to move visuals with it.

    The tracker runs on the UI thread and ticks with the animation frames of the media context; see the deviations of docs/porting/winui-composition.md.

    View source

    Contents

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.