Function leptos_use::use_cookie_with_options

source ยท
pub fn use_cookie_with_options<T, C>(
    cookie_name: &str,
    options: UseCookieOptions<T, C::Error>
) -> (Signal<Option<T>>, WriteSignal<Option<T>>)
where C: StringCodec<T> + Default + Clone, T: Clone,
Expand description

Version of use_cookie that takes UseCookieOptions.