feat: add proper event type

This commit is contained in:
Jonathan Kelley committed 2022-12-19 14:14:01 -08:00
1 parent aa71c111cd
commit 50faa7dd08
22 files changed
+273 -47

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ pub type MouseEvent = Event<MouseData>;
/// A synthetic event that wraps a web-style [`MouseEvent`](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent)
#[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
#[derive(Clone, Default)]
#[derive(Clone, Default, PartialEq)]
/// Data associated with a mouse event
///
/// Do not use the deprecated fields; they may change or become private in the future.