Skip to content

Commit

Permalink
docs(zh): remove references to mozPressure deprecated prop (mdn#13939)
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 authored and JasonLamv-t committed Jun 30, 2023
1 parent 64a5e63 commit 04e14c0
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 21 deletions.
2 changes: 0 additions & 2 deletions files/zh-cn/web/api/element/click_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ _该接口同样继承了其父级({{domxref("UIEvent")}} 和 {{domxref("Event
- : 返回鼠标指针在全局(屏幕)坐标系中的 Y 坐标。
- {{domxref("MouseEvent.shiftKey")}} {{readonlyinline}}
- : 若在按下 <kbd>shift</kbd> 键的情况下触发鼠标事件,则返回 `true`
- {{domxref("MouseEvent.mozPressure")}} {{non-standard_inline}} {{deprecated_inline}} {{readonlyinline}}
- : 触发事件时,施加到触摸或平板设备的压力;其值介于 `0.0`(最小压力)和 `1.0`(最大压力)之间。该(非标准的)属性已被弃用,你应该使用 {{domxref("PointerEvent")}} 代替,其具有 {{domxref("PointerEvent.pressure", "pressure")}} 属性。
- {{domxref("MouseEvent.mozInputSource")}} {{non-standard_inline}} {{readonlyinline}}
- : 触发事件的设备类型(一个 `MOZ_SOURCE_*` 常量)。这可以让你确定鼠标事件是由实际的鼠标还是由触摸事件生成(这可能会影响解析与事件相关联的坐标的准确度)。
- {{domxref("MouseEvent.webkitForce")}} {{non-standard_inline}} {{readonlyinline}}
Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/api/element/dblclick_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ slug: Web/API/Element/dblclick_event
| `clientY` {{readonlyInline}} | long | 点击事件发生时鼠标对应的浏览器窗口的 y 轴坐标。 |
| `button` {{readonlyInline}} | unsigned short | 点击时按下的鼠标按钮:左键=0,中间按钮=1 (如果实现的话), 右键=2. 对于配置为左手使用按钮的操作被反转的鼠标,这些值从右向左读取。 |
| `buttons` {{readonlyInline}} | unsigned short | 当鼠标事件被触发时按钮的 buttons: 左键=1,右键=2,中间按钮=4,第四个按钮 (通常是"返回")=8,第五个按钮 (通常是"前进")=16.若有两个或以上的按钮按下,返回以逻辑或运算形成的合并值。例如左键右键同时按下就返回 3 (=1 \| 2). [更多信息](/zh-CN/docs/Web/API/MouseEvent). |
| `mozPressure` {{readonlyInline}} | float | 压力应用于接触或 tabdevice 时生成的事件的数量;该值介于 0(最小压力)和 1(最大压力)。 |
| `ctrlKey` {{readonlyInline}} | boolean | 当事件被触发时 ctrl 按键被按下时为 true,否则为 false。 |
| `shiftKey` {{readonlyInline}} | boolean | 当事件被触发时 shift 按键被按下时为 true,否则为 false。 |
| `altKey` {{readonlyInline}} | boolean | 当事件被触发时 alt 按键被按下时为 true,否则为 false。 |
Expand Down
2 changes: 0 additions & 2 deletions files/zh-cn/web/api/element/mousedown_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ _这个接口也继承其父接口 {{domxref("UIEvent")}} 和 {{domxref("Event")
- : 鼠标指针相对于屏幕的 Y 轴坐标。
- {{domxref("MouseEvent.shiftKey")}} {{ReadOnlyInline}}
- : 当鼠标事件被触发时,如果 <kbd>shift</kbd> 键已被按下,返回 `true`
- {{domxref("MouseEvent.mozPressure")}} {{non-standard_inline()}} {{deprecated_inline}} {{ReadOnlyInline}}
- : 产生事件时施加到触摸或平板电脑设备的压力量;该值在 0.0(最小压力)和 1.0(最大压力)之间。你应该使用 {{domxref("PointerEvent")}} 并查看 {{domxref("PointerEvent.pressure", "pressure")}} 属性,而不是使用此废弃的(和非标准)属性。
- {{domxref("MouseEvent.mozInputSource")}} {{non-standard_inline()}} {{ReadOnlyInline}}
- : 生成事件的设备类型(`MOZ_SOURCE_*` 常量之一)。例如,这允许你决定鼠标事件是否由实际的鼠标还是触摸事件生成(这可能会在一定程度影响你对事件相关坐标判断的准确性)。
- {{domxref("MouseEvent.webkitForce")}} {{non-standard_inline()}} {{ReadOnlyInline}}
Expand Down
2 changes: 0 additions & 2 deletions files/zh-cn/web/api/element/mouseenter_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ _这个接口也继承其父接口 {{domxref("UIEvent")}} 和 {{domxref("Event")
- : 鼠标指针相对于屏幕的 Y 轴坐标。
- {{domxref("MouseEvent.shiftKey")}} {{ReadOnlyInline}}
- : 当鼠标事件被触发时,如果 <kbd>shift</kbd> 键已被按下,返回 `true`
- {{domxref("MouseEvent.mozPressure")}} {{non-standard_inline()}} {{deprecated_inline}} {{ReadOnlyInline}}
- : 产生事件时施加到触摸或平板电脑设备的压力量;该值在 0.0(最小压力)和 1.0(最大压力)之间。你应该使用 {{domxref("PointerEvent")}} 并查看 {{domxref("PointerEvent.pressure", "pressure")}} 属性,而不是使用此废弃的(和非标准)属性。
- {{domxref("MouseEvent.mozInputSource")}} {{non-standard_inline()}} {{ReadOnlyInline}}
- : 生成事件的设备类型(`MOZ_SOURCE_*` 常量之一)。例如,这让你决定鼠标事件是否由实际的鼠标还是触摸事件生成(这可能会在一定程度影响你对事件相关坐标判断的准确性)。
- {{domxref("MouseEvent.webkitForce")}} {{non-standard_inline()}} {{ReadOnlyInline}}
Expand Down
2 changes: 0 additions & 2 deletions files/zh-cn/web/api/element/mouseleave_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ _此接口也从其父接口 {{domxref("UIEvent")}} 和 {{domxref("Event")}} 继
- : 鼠标指针在全局(屏幕)坐标系中的 Y 坐标。
- {{domxref("MouseEvent.shiftKey")}} {{ReadOnlyInline}}
- : 在鼠标事件触发时,如果 <kbd>shift</kbd> 键被按下,则返回 `true`
- {{domxref("MouseEvent.mozPressure")}} {{non-standard_inline()}} {{deprecated_inline}} {{ReadOnlyInline}}
- : 在产生这个事件时,施加到触控或平板设备的压力量;该值介于 `0.0`(最小压力)和 `1.0`(最大压力)之间。你应该使用 {{domxref("PointerEvent")}} 并查看 {{domxref("PointerEvent.pressure", "pressure")}} 属性,而不是使用此废弃的(且非标准)的属性。
- {{domxref("MouseEvent.mozInputSource")}} {{non-standard_inline()}} {{ReadOnlyInline}}
- : 产生该事件的设备类型(`MOZ_SOURCE_*` 常量之一)。例如,你可以确定鼠标事件是由实际的鼠标还是由触摸事件生成的(这可能会影响你判断与事件关联的坐标时的准确度)。
- {{domxref("MouseEvent.webkitForce")}} {{non-standard_inline()}} {{ReadOnlyInline}}
Expand Down
2 changes: 0 additions & 2 deletions files/zh-cn/web/api/element/mousemove_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ _这个接口也继承其父接口 {{domxref("UIEvent")}} 和 {{domxref("Event")
- : 鼠标指针相对于屏幕的 Y 轴坐标。
- {{domxref("MouseEvent.shiftKey")}} {{ReadOnlyInline}}
- : 当鼠标事件被触发时,如果 <kbd>shift</kbd> 键已被按下,返回 `true`
- {{domxref("MouseEvent.mozPressure")}} {{non-standard_inline()}} {{deprecated_inline}} {{ReadOnlyInline}}
- : 产生事件时施加到触摸或平板电脑设备的压力量;该值在 0.0(最小压力)和 1.0(最大压力)之间。你应该使用 {{domxref("PointerEvent")}} 并查看 {{domxref("PointerEvent.pressure", "pressure")}} 属性,而不是使用此废弃的(和非标准)属性。
- {{domxref("MouseEvent.mozInputSource")}} {{non-standard_inline()}} {{ReadOnlyInline}}
- : 生成事件的设备类型(`MOZ_SOURCE_*` 常量之一)。例如,这允许你决定鼠标事件是否由实际的鼠标还是触摸事件生成(这可能会在一定程度影响你对事件相关坐标判断的准确性)。
- {{domxref("MouseEvent.webkitForce")}} {{non-standard_inline()}} {{ReadOnlyInline}}
Expand Down
2 changes: 0 additions & 2 deletions files/zh-cn/web/api/element/mouseout_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ _这个接口也继承其父接口 {{domxref("UIEvent")}} 和 {{domxref("Event")
- : 鼠标指针相对于屏幕的 Y 轴坐标。
- {{domxref("MouseEvent.shiftKey")}} {{ReadOnlyInline}}
- : 当鼠标事件被触发时,如果 <kbd>shift</kbd> 键已被按下,返回 `true`
- {{domxref("MouseEvent.mozPressure")}} {{non-standard_inline()}} {{deprecated_inline}} {{ReadOnlyInline}}
- : 产生事件时施加到触摸或平板电脑设备的压力量;该值在 0.0(最小压力)和 1.0(最大压力)之间。你应该使用 {{domxref("PointerEvent")}} 并查看 {{domxref("PointerEvent.pressure", "pressure")}} 属性,而不是使用此废弃的(和非标准)属性。
- {{domxref("MouseEvent.mozInputSource")}} {{non-standard_inline()}} {{ReadOnlyInline}}
- : 生成事件的设备类型(`MOZ_SOURCE_*` 常量之一)。例如,这允许你决定鼠标事件是否由实际的鼠标还是触摸事件生成(这可能会在一定程度影响你对事件相关坐标判断的准确性)。
- {{domxref("MouseEvent.webkitForce")}} {{non-standard_inline()}} {{ReadOnlyInline}}
Expand Down
2 changes: 0 additions & 2 deletions files/zh-cn/web/api/element/mouseover_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ _这个接口也继承其父接口 {{domxref("UIEvent")}} 和 {{domxref("Event")
- : 鼠标指针相对于屏幕的 Y 轴坐标。
- {{domxref("MouseEvent.shiftKey")}} {{ReadOnlyInline}}
- : 当鼠标事件被触发时,如果 <kbd>shift</kbd> 键已被按下,返回 `true`
- {{domxref("MouseEvent.mozPressure")}} {{non-standard_inline()}} {{deprecated_inline}} {{ReadOnlyInline}}
- : 产生事件时施加到触摸或平板电脑设备的压力量;该值在 0.0(最小压力)和 1.0(最大压力)之间。你应该使用 {{domxref("PointerEvent")}} 并查看 {{domxref("PointerEvent.pressure", "pressure")}} 属性,而不是使用此废弃的(和非标准)属性。
- {{domxref("MouseEvent.mozInputSource")}} {{non-standard_inline()}} {{ReadOnlyInline}}
- : 生成事件的设备类型(`MOZ_SOURCE_*` 常量之一)。例如,这让你决定鼠标事件是否由实际的鼠标还是触摸事件生成(这可能会在一定程度影响你对事件相关坐标判断的准确性)。
- {{domxref("MouseEvent.webkitForce")}} {{non-standard_inline()}} {{ReadOnlyInline}}
Expand Down
2 changes: 0 additions & 2 deletions files/zh-cn/web/api/element/mouseup_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ _这个接口也继承其父接口 {{domxref("UIEvent")}} 和 {{domxref("Event")
- : 鼠标指针相对于屏幕的 Y 轴坐标。
- {{domxref("MouseEvent.shiftKey")}} {{ReadOnlyInline}}
- : 当鼠标事件被触发时,如果 <kbd>shift</kbd> 键已被按下,返回 `true`
- {{domxref("MouseEvent.mozPressure")}} {{non-standard_inline()}} {{deprecated_inline}} {{ReadOnlyInline}}
- : 产生事件时施加到触摸或平板电脑设备的压力量;该值在 0.0(最小压力)和 1.0(最大压力)之间。你应该使用 {{domxref("PointerEvent")}} 并查看 {{domxref("PointerEvent.pressure", "pressure")}} 属性,而不是使用此废弃的(和非标准)属性。
- {{domxref("MouseEvent.mozInputSource")}} {{non-standard_inline()}} {{ReadOnlyInline}}
- : 生成事件的设备类型(`MOZ_SOURCE_*` 常量之一)。例如,这让你决定鼠标事件是否由实际的鼠标还是触摸事件生成(这可能会在一定程度影响你对事件相关坐标判断的准确性)。
- {{domxref("MouseEvent.webkitForce")}} {{non-standard_inline()}} {{ReadOnlyInline}}
Expand Down
2 changes: 0 additions & 2 deletions files/zh-cn/web/api/mouseevent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ _这个接口也继承了{{domxref("UIEvent")}} 和 {{domxref("Event")}}原型
- : 当鼠标事件触发时,如果 <kbd>shift</kbd> 键被按下,则返回 true;
- {{domxref("MouseEvent.which")}} {{non-standard_inline}} {{readonlyinline}}
- : 当鼠标事件触发时,表示被按下的按钮。
- {{domxref("MouseEvent.mozPressure")}} {{non-standard_inline()}} {{readonlyinline}}
- : 点击事件发生时施加在触摸屏或者平板设备的压力量。这个数值在 0.0(最小压力)和 1.0(最大压力)之间。
- {{domxref("MouseEvent.mozInputSource")}} {{non-standard_inline()}} {{readonlyinline}}
- : 生成事件的类型(若干 `MOZ_SOURCE_*`常量如下列出)。可通过该属性获知鼠标事件是否由真实鼠标设备触发,亦或通过触摸事件触发(这可能影响处理坐标事件时的精确程度)。
- {{domxref("MouseEvent.webkitForce")}} {{non-standard_inline()}} {{readonlyinline}}
Expand Down
2 changes: 0 additions & 2 deletions files/zh-tw/web/api/mouseevent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ _此介面也繼承了其父介面 {{domxref("UIEvent")}} 與 {{domxref("Event")
- : Returns `true` if the <kbd>shift</kbd> key was down when the mouse event was fired.
- {{domxref("MouseEvent.which")}} {{non-standard_inline}} {{readonlyinline}}
- : The button being pressed when the mouse event was fired.
- {{domxref("MouseEvent.mozPressure")}} {{non-standard_inline()}} {{readonlyinline}}
- : The amount of pressure applied to a touch or tablet device when generating the event; this value ranges between `0.0` (minimum pressure) and `1.0` (maximum pressure).
- {{domxref("MouseEvent.mozInputSource")}} {{non-standard_inline()}} {{readonlyinline}}
- : The type of device that generated the event (one of the `MOZ_SOURCE_*` constants listed below). This lets you, for example, determine whether a mouse event was generated by an actual mouse or by a touch event (which might affect the degree of accuracy with which you interpret the coordinates associated with the event).
- {{domxref("MouseEvent.webkitForce")}} {{non-standard_inline()}} {{readonlyinline}}
Expand Down

0 comments on commit 04e14c0

Please sign in to comment.