Function leptos_use::use_cookie_with_options

source ยท
pub fn use_cookie_with_options<T, C>(
    cookie_name: &str,
    options: UseCookieOptions<T, <C as Encoder<T>>::Error, <C as Decoder<T>>::Error>,
) -> (Signal<Option<T>>, WriteSignal<Option<T>>)
where C: Encoder<T, Encoded = String> + Decoder<T, Encoded = str>, T: Clone,
Expand description

Version of use_cookie that takes UseCookieOptions.