Function use_animated

Source
pub fn use_animated<V>(
    mounted: UseMounted,
    value_ref: Signal<V>,
    make_style: impl FnMut(V) -> String + 'static,
)
where V: Clone,
Expand description

Hook to use an animated value and apply it to a mounted element.