Skip to content

Commit

Permalink
style pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
skyclouds2001 committed Dec 1, 2023
1 parent 46a7776 commit ae19f6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ browser-compat: api.InputDeviceCapabilities.firesTouchEvents

{{APIRef("Input Device Capabilities API")}}{{SeeCompatTable}}

The **`InputDeviceCapabilities.firesTouchEvents`** read-only
property returns a boolean value that indicates whether the device dispatches
touch events.
The **`firesTouchEvents`** read-only property of the {{domxref("InputDeviceCapabilities")}} interface returns a boolean value that indicates whether the device dispatches touch events.

You can use this property to detect mouse events that represent an action that may
already have been handled by touch event handlers. This doesn't necessarily mean the
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/uievent/sourcecapabilities/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ browser-compat: api.UIEvent.sourceCapabilities

{{APIRef("Input Device Capabilities API")}}{{SeeCompatTable}}

The **`UIEvent.sourceCapabilities`** read-only property returns
The **`sourceCapabilities`** read-only property of the {{domxref("UIEvent")}} interface returns
an instance of the {{domxref('InputDeviceCapabilities')}} interface which provides
information about the physical device responsible for generating a touch event. If no
input device was responsible for the event, it returns `null`.
Expand Down

0 comments on commit ae19f6b

Please sign in to comment.