Re: [whatwg/dom] Allow custom activation behavior to be added to an event (Issue #1320)

> EventTargets could perhaps have some callback for activation behavior, and that could either override the native activation behavior

Yeah, I like that idea.

> or other option is to control that using .preventDefault() if the callback gets the event as param

I don't think that works, because you want the activation behaviour to not-run if the default is prevented.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1320#issuecomment-2457460082
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1320/2457460082@github.com>

Received on Tuesday, 5 November 2024 15:22:52 UTC