Re: [pointerevents] Add deviceProperties.uniqueId to PointerEvent spec (#495)

One of the issues I have with this type of design is that `event.deviceId` will always work, whereas `event.device.id` might result in an exception due to `event.device` being null. And it's not really clear that this complexity comes with any kind of benefit that isn't also addressed with clear naming. (Which also means it's not exactly 1:1 like I think `element.style` is.)

-- 
GitHub Notification of comment by annevk
Please view or discuss this issue at https://github.com/w3c/pointerevents/pull/495#issuecomment-2117690926 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 17 May 2024 14:07:27 UTC