- From: Philip Jägenstedt via GitHub <sysbot+gh@w3.org>
- Date: Fri, 04 Mar 2016 03:51:11 +0000
- To: public-geolocation@w3.org
Yes it is. The spec says "User agents must also provide an event
handler IDL attribute named ondeviceorientation on the window object.
The type of the corresponding event must be deviceorientation." which
implementors will surely understand, but it can be done using IDL as
in Blink:
```WebIDL
partial interface Window {
attribute EventHandler ondeviceorientation;
attribute EventHandler ondeviceorientationabsolute;
};
```
Note also that "The type of the corresponding event must be
deviceorientation" sounds a bit strange, it should be something
involving "event handler event types".
--
GitHub Notification of comment by foolip
Please view or discuss this issue at
https://github.com/w3c/deviceorientation/issues/17#issuecomment-192085002
using your GitHub account
Received on Friday, 4 March 2016 03:51:13 UTC