leptos-use 0.20.0

Collection of essential Leptos utilities inspired by React-Use / VueUse
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Generated by the micro crate split: deprecated forwarding wrappers.

pub mod use_screen_orientation {
    use ::leptos_use_screen_orientation::*;

    #[doc = " Deprecated forwarding wrapper of [`leptos_use_screen_orientation::use_screen_orientation`](https://docs.rs/leptos-use-screen-orientation/latest/leptos_use_screen_orientation/fn.use_screen_orientation.html).\n\n Add the `leptos-use-screen-orientation` crate to your dependencies and use `leptos_use_screen_orientation::use_screen_orientation` instead."]
    #[deprecated(
        since = "0.20.0",
        note = "leptos-use has been split into micro crates. Add `leptos-use-screen-orientation` to your dependencies and use `leptos_use_screen_orientation::use_screen_orientation` instead."
    )]
    #[inline(always)]
    pub fn use_screen_orientation() -> UseScreenOrientationReturn<
        impl Fn(ScreenOrientationLock) + Clone + Send + Sync + 'static,
        impl Fn() + Clone + Send + Sync + 'static,
    > {
        ::leptos_use_screen_orientation::use_screen_orientation()
    }
}