From: Dominik Csapak <d.csapak@proxmox.com>
To: yew-devel@lists.proxmox.com
Subject: [PATCH yew-widget-toolkit v2 4/4] touch: gesture detector: add missing comment for swipe callback
Date: Thu, 16 Apr 2026 10:47:30 +0200 [thread overview]
Message-ID: <20260416085849.1062721-4-d.csapak@proxmox.com> (raw)
In-Reply-To: <20260416085849.1062721-1-d.csapak@proxmox.com>
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
new in v2
src/touch/gesture_detector.rs | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/touch/gesture_detector.rs b/src/touch/gesture_detector.rs
index 47a0850..17bf072 100644
--- a/src/touch/gesture_detector.rs
+++ b/src/touch/gesture_detector.rs
@@ -217,6 +217,7 @@ pub struct GestureDetector {
#[prop_or_default]
pub on_drag: Option<Callback<GestureDragEvent>>,
+ /// Callback for swipe events.
#[prop_or_default]
pub on_swipe: Option<Callback<GestureSwipeEvent>>,
--
2.47.3
prev parent reply other threads:[~2026-04-16 8:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-16 8:47 [PATCH yew-widget-toolkit v2 1/4] touch: gesture detector: implement pinch zoom gesture Dominik Csapak
2026-04-16 8:47 ` [PATCH yew-widget-toolkit v2 2/4] touch: gesture detector: unify on_drag{_start,_update,_end} callbacks Dominik Csapak
2026-04-16 8:47 ` [PATCH yew-widget-toolkit v2 3/4] touch: gesture detector: derive Clone and PartialEq for Events Dominik Csapak
2026-04-16 8:47 ` Dominik Csapak [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260416085849.1062721-4-d.csapak@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=yew-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.