Re: [whatwg/dom] Missing machinery for associated Event data (Issue #1328)

domenic left a comment (whatwg/dom#1328)

Note that this is specifically a problem for properties where we want

```js
const event = new XEvent({ x: originalX });
console.assert(event.x !== originalX);
```

If we just want some way of associating data that is not directly exposed, or some way of defining getters that don't have counterparts in the `XEventInit`, that can be done already. (E.g. `NavigateEvent` does the former.)

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

Message ID: <whatwg/dom/issues/1328/2918378315@github.com>

Received on Thursday, 29 May 2025 05:50:55 UTC