[deviceorientation] fire an orientation event need to use the dictionary (#184)

marcoscaceres has just created a new issue for https://github.com/w3c/deviceorientation:

== fire an orientation event need to use the dictionary ==
In "fire an orientation event", it reads:

> [Fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named event at window, using [DeviceOrientationEvent](https://www.w3.org/TR/orientation-event/#deviceorientationevent), with the [alpha](https://www.w3.org/TR/orientation-event/#dom-deviceorientationevent-alpha) attribute initialized to z, the [beta](https://www.w3.org/TR/orientation-event/#dom-deviceorientationevent-beta) attribute initialized to x, the [gamma](https://www.w3.org/TR/orientation-event/#dom-deviceorientationevent-gamma) attribute initialized to y, and the [absolute](https://www.w3.org/TR/orientation-event/#dom-deviceorientationevent-absolute) attribute initialized to absolute.

However, the event needs to be initialized with `DeviceOrientationEventInit` instead.  




Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/184 using your GitHub account


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

Received on Sunday, 19 May 2024 03:06:44 UTC