dominikh / go-js-dom

MIT License
252 stars 42 forks source link

rebase WheelEvent on top of MouseEvent #77

Closed dmitshur closed 4 years ago

dmitshur commented 4 years ago

According to documentation on MDN¹, the WheelEvent interface inherits properties from MouseEvent, which in turn inherits from UIEvent, and that inherits from Event.

Embed MouseEvent in WheelEvent type in order to gain access to additional properties in WheelEvent.

[1] https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent

Fixes #68.