- From: Marcos Cáceres <notifications@github.com>
- Date: Sun, 14 Jan 2024 21:43:59 -0800
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 15 January 2024 05:44:06 UTC
@marcoscaceres commented on this pull request.
> + </li>
+ </ol>
+ </dd>
+ <dt>
+ <dfn>playEffect()</dfn> method
+ </dt>
+ <dd>
+ <p>
+ The {{GamepadHapticActuator/playEffect()}} method steps, called with
+ {{GamepadHapticEffectType}} |type:GamepadHapticEffectType| and
+ {{GamepadEffectParameters}} |params:GamepadEffectParameters |, are:
+ </p>
+ <ol class="algorithm">
+ <li>If |params:GamepadEffectParameters| does not describe a [=valid
+ effect=] of type |type:GamepadHapticEffectType|, return [=a promise
+ rejected with=] reason {{TypeError}}.
```suggestion
rejected with=] a {{TypeError}}.
```
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/190#pullrequestreview-1820919469
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/gamepad/pull/190/review/1820919469@github.com>
Received on Monday, 15 January 2024 05:44:06 UTC