Skip to main content

value

Function value 

Source
pub fn value(
    id: impl Into<ElementId>,
    target: f32,
    window: &mut Window,
    cx: &mut App,
) -> f32
Expand description

A value that follows target on the default spatial spring, retargeting from its current presentation when the target changes again.