Skip to content

Commit

Permalink
Update files/zh-cn/web/api/htmlelement/click/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Ren <[email protected]>
  • Loading branch information
yin1999 and jasonren0403 authored Sep 18, 2024
1 parent c186247 commit 265893d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/zh-cn/web/api/htmlelement/click/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ l10n:

{{ APIRef("HTML DOM") }}

**`HTMLElement.click()`** 方法可以用来模拟鼠标左键单击一个元素。当在某个元素上调用时,会触发元素的 {{domxref("Element/click_event", "click")}} 事件(除非设置了 [`disabled`](/zh-CN/docs/Web/HTML/Attributes/disabled) 属性)。
**`HTMLElement.click()`** 方法模拟鼠标单击元素。当在某个元素上调用时,会触发元素的 {{domxref("Element/click_event", "click")}} 事件(除非该元素设置了 [`disabled`](/zh-CN/docs/Web/HTML/Attributes/disabled) 属性)。

## 语法

Expand Down

0 comments on commit 265893d

Please sign in to comment.