FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    track_item_property_changed

    function · ferroui-base · v0.5.0

    fn track_item_property_changed<T: ObjectType>(collection: &MediaCollection<crate::Ref<T>>, callback: impl Fn() -> () + 'static) -> crate::reactive::Subscription
    

    Invokes callback whenever a property changes on any item of the list.

    A reset of the list is not supported and panics. Dropping the returned guard stops tracking the items; Subscription::detach keeps tracking them.

    View source

    Availability

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