scala-js/scala-js-dom

MouseEvent.{pageX,pageY}

tindzk opened this issue · 1 comments

Is there a reason MouseEvent does not have pageX and pageY? As I can see both are supported by recent browsers. I would prefer not to cast MouseEvent to my own type just to add these two attributes.

I doubt it. If you think it should be in there, send a PR along with a link to some authoritative source which describes it, and we'll happily merge ^_^ My 10 secs of google suggests that the two attributes should really be in Event, but you should find out for certain and fix it for everyone.