trivial fix for documentation example for onclick handler of buttons (#3882)
This commit is contained in:
1 parent
09a4b5eb4e
commit
9e09bcf3f7
1 file changed
+1
-1
@@ -64,7 +64,7 @@ impl_event! {
|
||||
///
|
||||
/// ## Example
|
||||
/// ```rust, ignore
|
||||
/// rsx!( button { "click me", onclick: move |_| tracing::info!("Clicked!`") } )
|
||||
/// rsx!( button { onclick: move |_| tracing::info!("Clicked!"), "click me" } )
|
||||
/// ```
|
||||
///
|
||||
/// ## Reference
|
||||
|
||||
Reference in new issue
Block a user