Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(zh-cn): remove the extra space in inline code #25246

Merged
merged 1 commit into from
Dec 28, 2024
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
2 changes: 1 addition & 1 deletion files/zh-cn/web/api/uievent/sourcecapabilities/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ l10n:

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

{{domxref("UIEvent")}} 接口的 **`sourceCapabilities `** 只读属性返回 {{domxref('InputDeviceCapabilities')}} 接口的一个实例,该实例提供有关负责生成触摸事件的物理设备的信息。如果没有输入设备对事件负责,则返回 `null`。
{{domxref("UIEvent")}} 接口的 **`sourceCapabilities`** 只读属性返回 {{domxref('InputDeviceCapabilities')}} 接口的一个实例,该实例提供有关负责生成触摸事件的物理设备的信息。如果没有输入设备对事件负责,则返回 `null`。

当单个用户与输入设备的交互生成一系列不同的输入事件时,所有这些事件的 `sourceCapabilities` 属性将指向 `InputDeviceCapabilities` 的同一个实例。例如,当用户将手指从触摸屏上抬起时,可能会生成若干个 UIEvent,包括 `touchend`、`mousedown`、`click` 和 `focus`。所有这些事件必须具有表示触摸屏的相同 `sourceCapabilities`。

Expand Down
Loading