fix: Fix stop_propagation example (#1143)
This commit is contained in:
1 parent
6512c153dd
commit
cb73343865
1 file changed
+1
-1
@@ -53,7 +53,7 @@ impl<T> Event<T> {
|
||||
/// rsx! {
|
||||
/// button {
|
||||
/// onclick: move |evt: Event<MouseData>| {
|
||||
/// evt.cancel_bubble();
|
||||
/// evt.stop_propagation();
|
||||
/// }
|
||||
/// }
|
||||
/// }
|
||||
|
||||
Reference in new issue
Block a user