handle bubbling events
This commit is contained in:
1 parent
d9e14db434
commit
61b4bb2f19
9 files changed
+363
-27
No files matched your search
@@ -63,6 +63,9 @@ pub struct UserEvent {
|
||||
/// The event type IE "onclick" or "onmouseover"
|
||||
pub name: &'static str,
|
||||
|
||||
/// If the event is bubbles up through the vdom
|
||||
pub bubbles: bool,
|
||||
|
||||
/// The event data to be passed onto the event handler
|
||||
pub data: Arc<dyn Any + Send + Sync>,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user