mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-22 16:49:22 -05:00
Update "hidden" in use_document
Changed to hide elements by default on server.
This commit is contained in:
parent
5529b005d7
commit
09b08f64f5
1 changed files with 3 additions and 1 deletions
|
@ -225,7 +225,9 @@ impl UseDocument {
|
|||
);
|
||||
|
||||
impl_ssr_safe_method!(
|
||||
hidden(&self) -> Option<bool>
|
||||
/// Hides on server by default
|
||||
hidden(&self) -> bool;
|
||||
.unwrap_or(true)
|
||||
);
|
||||
|
||||
impl_ssr_safe_method!(
|
||||
|
|
Loading…
Add table
Reference in a new issue