Function leptos_use::use_to_string

source ·
pub fn use_to_string<V, T>(value: V) -> Signal<String>
where V: Into<MaybeSignal<T>>, T: ToString + 'static,
Expand description

Reactive ToString::to_string().

§Usage

let (number, set_number) = create_signal(3.14_f64);
let str = use_to_string::<_, f64>(number);