Re: [WICG/webcomponents] Reference Target: How to handle events fired on the reference target by related elements? (Issue #1098)

alice left a comment (WICG/webcomponents#1098)

I think `relatedTarget` is for things like `focus` and `blur` events, where there is another element which is, well, related, but isn't actually a target for _this_ event:

https://developer.mozilla.org/en-US/docs/Web/API/FocusEvent/relatedTarget
https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/relatedTarget

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/1098#issuecomment-2803255179
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/1098/2803255179@github.com>

Received on Monday, 14 April 2025 23:02:06 UTC