fix scroll data (#569)

This commit is contained in:
Demonthos authored and GitHub committed 2022-09-30 10:48:52 -07:00
1 parent 964a942243
commit b32fd2d2cd
2 files changed
+11 -4

No files matched your search

+10 -3
View File
@@ -250,9 +250,6 @@ pub mod on {
/// onmouseout
onmouseout
///
onscroll
/// onmouseover
///
/// Triggered when the users's mouse hovers over an element.
@@ -262,6 +259,11 @@ pub mod on {
onmouseup
];
ScrollEvent(ScrollData): [
///
onscroll
];
PointerEvent(PointerData): [
/// pointerdown
onpointerdown
@@ -897,6 +899,11 @@ pub mod on {
}
}
pub type ScrollEvent = UiEvent<ScrollData>;
#[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone)]
pub struct ScrollData {}
pub type MediaEvent = UiEvent<MediaData>;
#[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone)]