mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-23 09:09:21 -05:00
added ssr docs to use_web_notification
This commit is contained in:
parent
67a2bee7c3
commit
72b6f31378
1 changed files with 4 additions and 0 deletions
|
@ -36,6 +36,10 @@ use std::rc::Rc;
|
||||||
/// # view! { }
|
/// # view! { }
|
||||||
/// # }
|
/// # }
|
||||||
/// ```
|
/// ```
|
||||||
|
///
|
||||||
|
/// ## Server-Side Rendering
|
||||||
|
///
|
||||||
|
/// This function is basically ignored on the server. You can safely call `show` but it will do nothing.
|
||||||
pub fn use_web_notification(
|
pub fn use_web_notification(
|
||||||
) -> UseWebNotificationReturn<impl Fn(ShowOptions) + Clone, impl Fn() + Clone> {
|
) -> UseWebNotificationReturn<impl Fn(ShowOptions) + Clone, impl Fn() + Clone> {
|
||||||
use_web_notification_with_options(UseWebNotificationOptions::default())
|
use_web_notification_with_options(UseWebNotificationOptions::default())
|
||||||
|
|
Loading…
Add table
Reference in a new issue