FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    dynamic

    function · ferroui-view · v0.5.0

    fn dynamic<E: IntoElement>(render: impl Fn() -> E + 'static) -> crate::element::Element
    

    Children computed by a reactive closure: made again whenever what it read changes. An element with a key keeps its control while an element with the same key comes back (its values are not compared: give the key what identifies the values, or use for_each).

    View source

    Availability

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