mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-24 01:09:21 -05:00
21 lines
594 B
Rust
21 lines
594 B
Rust
use crate::storage::shared::{use_specific_storage, UseSpecificStorageOptions};
|
|
use crate::storage::{use_storage_with_options, StorageType};
|
|
use leptos::*;
|
|
use paste::paste;
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
use_specific_storage!(
|
|
/// Reactive [SessionStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage)
|
|
///
|
|
/// ## Usage
|
|
///
|
|
/// Please refer to [`use_storage`]
|
|
///
|
|
/// ## See also
|
|
///
|
|
/// * [`use_storage`]
|
|
/// * [`use_local_storage`]
|
|
// #[doc(cfg(feature = "storage"))]
|
|
session
|
|
/// [`use_session_storage`]
|
|
);
|