feat: add proper event type
This commit is contained in:
1 parent
aa71c111cd
commit
50faa7dd08
22 files changed
+273
-47
No files matched your search
@@ -3,7 +3,7 @@ use dioxus_core::Event;
|
||||
pub type AnimationEvent = Event<AnimationData>;
|
||||
|
||||
#[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub struct AnimationData {
|
||||
pub animation_name: String,
|
||||
pub pseudo_element: String,
|
||||
|
||||
Reference in new issue
Block a user