add auxclick and scrollend to dioxus events (#5095)

This commit is contained in:
Rhaskia authored and GitHub committed 2025-12-14 22:52:46 -08:00
1 parent 2da01937c1
commit 88120a7c39
7 files changed
+13 -5

No files matched your search

+3
View File
@@ -136,6 +136,9 @@ impl_event![
/// pointerout
onpointerout
/// auxclick
onauxclick
];
impl PointerData {
+3
View File
@@ -177,4 +177,7 @@ impl_event! {
/// onscroll
onscroll
/// onscrollend
onscrollend
}
+2 -2
View File
@@ -94,7 +94,7 @@ fn deserialize_raw(name: &str, data: &serde_json::Value) -> Result<EventData, se
// Pointer
"pointerlockchange" | "pointerlockerror" | "pointerdown" | "pointermove" | "pointerup"
| "pointerover" | "pointerout" | "pointerenter" | "pointerleave" | "gotpointercapture"
| "lostpointercapture" => Pointer(de(data)?),
| "lostpointercapture" | "auxclick" => Pointer(de(data)?),
// Selection
"selectstart" | "selectionchange" | "select" => Selection(de(data)?),
@@ -106,7 +106,7 @@ fn deserialize_raw(name: &str, data: &serde_json::Value) -> Result<EventData, se
"resize" => Resize(de(data)?),
// Scroll
"scroll" => Scroll(de(data)?),
"scroll" | "scrollend" => Scroll(de(data)?),
// Visible
"visible" => Visible(de(data)?),