Skip to content

Commit

Permalink
Add getter algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleyneedham committed May 5, 2023
1 parent c9d3302 commit 8fe5ed0
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions extensions.html
Original file line number Diff line number Diff line change
Expand Up @@ -968,8 +968,19 @@ <h2>
<dfn>touchEvents</dfn>
</dt>
<dd>
A list of touch events generated from all touch surfaces.
If the device does not support touch events, MUST be set to `null`.
<p>A list of touch events generated from all touch surfaces.
If the device does not support touch events, MUST be set to `null`.</p>
<p>
The {{Gamepad/touchEvents}} getter steps are:
</p>
<ol>
<li>If [=this=].{{Gamepad/[[touchEvents]]}} not `null` and not empty,
return [=this=].{{Gamepad/[[touchEvents]]}}.
</li>
<li>Otherwise return `null`.
</li>
</ol>

</dd>
<dt>
<dfn>vibrationActuator</dfn>
Expand Down

0 comments on commit 8fe5ed0

Please sign in to comment.