pub mod on_click_outside {
use ::leptos_use_element::*;
use ::leptos_use_on_click_outside::*;
#[doc = " Deprecated forwarding wrapper of [`leptos_use_on_click_outside::on_click_outside`](https://docs.rs/leptos-use-on-click-outside/latest/leptos_use_on_click_outside/fn.on_click_outside.html).\n\n Add the `leptos-use-on-click-outside` crate to your dependencies and use `leptos_use_on_click_outside::on_click_outside` instead."]
#[deprecated(
since = "0.20.0",
note = "leptos-use has been split into micro crates. Add `leptos-use-on-click-outside` to your dependencies and use `leptos_use_on_click_outside::on_click_outside` instead."
)]
#[inline(always)]
pub fn on_click_outside<El, M, F>(target: El, handler: F) -> impl FnOnce() + Clone + Send + Sync
where
El: IntoElementMaybeSignal<web_sys::EventTarget, M>,
F: FnMut(web_sys::Event) + Clone + 'static,
{
::leptos_use_on_click_outside::on_click_outside::<El, M, F>(target, handler)
}
#[doc = " Deprecated forwarding wrapper of [`leptos_use_on_click_outside::on_click_outside_with_options`](https://docs.rs/leptos-use-on-click-outside/latest/leptos_use_on_click_outside/fn.on_click_outside_with_options.html).\n\n Add the `leptos-use-on-click-outside` crate to your dependencies and use `leptos_use_on_click_outside::on_click_outside_with_options` instead."]
#[deprecated(
since = "0.20.0",
note = "leptos-use has been split into micro crates. Add `leptos-use-on-click-outside` to your dependencies and use `leptos_use_on_click_outside::on_click_outside_with_options` instead."
)]
#[cfg_attr(feature = "ssr", allow(unused_variables))]
#[inline(always)]
pub fn on_click_outside_with_options<El, M, F>(
target: El,
handler: F,
options: OnClickOutsideOptions,
) -> impl FnOnce() + Clone + Send + Sync
where
El: IntoElementMaybeSignal<web_sys::EventTarget, M>,
F: FnMut(web_sys::Event) + Clone + 'static,
{
::leptos_use_on_click_outside::on_click_outside_with_options::<El, M, F>(
target, handler, options,
)
}
}