Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jul 9, 2024. It is now read-only.

Add getModifierState definition to TouchEvent (#91) #120

Merged
merged 1 commit into from
May 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions 7 index.html
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ <h2><dfn>TouchEvent</dfn> Interface</h2>
readonly attribute boolean metaKey;
readonly attribute boolean ctrlKey;
readonly attribute boolean shiftKey;
getter boolean getModifierState (DOMString keyArg);
};
</pre>
<dl data-dfn-for="TouchEvent" data-link-for="TouchEvent">
Expand Down Expand Up @@ -544,6 +545,12 @@ <h2><dfn>TouchEvent</dfn> Interface</h2>
<p><code>true</code> if the shift (Shift) key modifier is activated;
otherwise <code>false</code></p>
</dd>
<dt><dfn>getModifierState</dfn>(keyArg)</dt>
<dd>
<p>Queries the state of a modifier using a key value. Returns
<code>true</code> if it is a modifier key and the modifier is
activated, <code>false</code> otherwise.</p>
</dd>
</dl>

<section class="informative">
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.