mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-22 16:49:22 -05:00
fixed tests
This commit is contained in:
parent
2fe13f9540
commit
c674b45635
1 changed files with 2 additions and 2 deletions
|
@ -29,14 +29,14 @@ use leptos::*;
|
|||
///
|
||||
/// view! {
|
||||
/// <Show
|
||||
/// when=is_supported
|
||||
/// when=move || is_supported.get()
|
||||
/// fallback=move || view! { <p>Your browser does not support Clipboard API</p> }
|
||||
/// >
|
||||
/// <button on:click={
|
||||
/// let copy = copy.clone();
|
||||
/// move |_| copy("Hello!")
|
||||
/// }>
|
||||
/// <Show when=copied fallback=move || "Copy">
|
||||
/// <Show when=move || copied.get() fallback=move || "Copy">
|
||||
/// "Copied!"
|
||||
/// </Show>
|
||||
/// </button>
|
||||
|
|
Loading…
Add table
Reference in a new issue