From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../api/globaleventhandlers/onmousedown/index.html | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 files/zh-cn/web/api/globaleventhandlers/onmousedown/index.html (limited to 'files/zh-cn/web/api/globaleventhandlers/onmousedown/index.html') diff --git a/files/zh-cn/web/api/globaleventhandlers/onmousedown/index.html b/files/zh-cn/web/api/globaleventhandlers/onmousedown/index.html new file mode 100644 index 0000000000..9d8d26dbb1 --- /dev/null +++ b/files/zh-cn/web/api/globaleventhandlers/onmousedown/index.html @@ -0,0 +1,25 @@ +--- +title: GlobalEventHandlers.onmousedown +slug: Web/API/GlobalEventHandlers/onmousedown +translation_of: Web/API/GlobalEventHandlers/onmousedown +--- +
{{ ApiRef("HTML DOM") }}
+ +

概述

+ +

onmousedown属性用来获取或设置当前元素的mousedown事件的事件处理函数.

+ +

语法

+ +
element.onmousedown= event handling code
+
+ +

备注

+ +

在当前元素上鼠标按下瞬间会触发mousedown事件.

+ +

规范

+ +

不属于任何公开的规范.

+ +

{{ languages( { "fr": "fr/DOM/element.onmousedown", "pl": "pl/DOM/element.onmousedown", "en": "en/DOM/element.onmousedown" } ) }}

-- cgit v1.2.3-54-g00ecf