2023-05-27 03:00:08 +01:00
|
|
|
//! Collection of essential Leptos utilities inspired by SolidJS USE / VueUse
|
|
|
|
|
2023-05-14 22:45:38 +01:00
|
|
|
pub mod core;
|
2023-05-29 01:52:03 +01:00
|
|
|
#[cfg(feature = "docs")]
|
|
|
|
pub mod docs;
|
2023-05-27 03:00:08 +01:00
|
|
|
mod use_debounce_fn;
|
|
|
|
mod use_event_listener;
|
2023-05-29 01:52:03 +01:00
|
|
|
#[cfg(web_sys_unstable_apis)]
|
|
|
|
mod use_resize_observer;
|
2023-05-27 03:00:08 +01:00
|
|
|
mod use_scroll;
|
2023-05-29 01:52:03 +01:00
|
|
|
mod use_supported;
|
2023-05-27 03:00:08 +01:00
|
|
|
mod use_throttle_fn;
|
2023-05-19 00:58:48 +01:00
|
|
|
pub mod utils;
|
2023-05-29 01:52:03 +01:00
|
|
|
mod watch;
|
2023-05-28 17:42:16 +01:00
|
|
|
|
2023-05-26 18:09:01 +01:00
|
|
|
pub use use_debounce_fn::*;
|
2023-05-28 17:42:16 +01:00
|
|
|
pub use use_event_listener::*;
|
2023-05-29 01:52:03 +01:00
|
|
|
#[cfg(web_sys_unstable_apis)]
|
|
|
|
pub use use_resize_observer::*;
|
2023-05-19 00:58:48 +01:00
|
|
|
pub use use_scroll::*;
|
2023-05-29 01:52:03 +01:00
|
|
|
pub use use_supported::*;
|
2023-05-19 00:58:48 +01:00
|
|
|
pub use use_throttle_fn::*;
|
2023-05-29 01:52:03 +01:00
|
|
|
pub use watch::*;
|
2023-05-27 03:00:08 +01:00
|
|
|
|
|
|
|
extern crate self as leptos_use;
|