- From: Philip Jägenstedt <notifications@github.com>
- Date: Thu, 15 Sep 2016 02:34:20 -0700
- To: w3c/gamepad <gamepad@noreply.github.com>
Received on Thursday, 15 September 2016 09:34:49 UTC
https://w3c.github.io/gamepad/#gamepadevent-interface
```WebIDL
[Constructor(GamepadEventInit eventInitDict)]
interface GamepadEvent : Event {
readonly attribute Gamepad gamepad;
};
```
A type argument needs to precede the dictionary. `[SameObject]` would be nice to, so:
```WebIDL
[Constructor(DOMString type, GamepadEventInit eventInitDict)]
interface GamepadEvent : Event {
[SameObject] readonly attribute Gamepad gamepad;
};
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/issues/35
Received on Thursday, 15 September 2016 09:34:49 UTC