Function leptos_use::storage::use_local_storage_with_options

source ยท
pub fn use_local_storage_with_options<T, C>(
    key: impl AsRef<str>,
    options: UseStorageOptions<T, <C as Encoder<T>>::Error, <C as Decoder<T>>::Error>,
) -> (Signal<T>, WriteSignal<T>, impl Fn() + Clone)
where T: Clone + PartialEq, C: Encoder<T, Encoded = String> + Decoder<T, Encoded = str>,
Expand description

Accepts UseStorageOptions. See use_local_storage for details.