From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../web/api/htmlformelement/reset_event/index.html | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 files/zh-cn/web/api/htmlformelement/reset_event/index.html (limited to 'files/zh-cn/web/api/htmlformelement/reset_event') diff --git a/files/zh-cn/web/api/htmlformelement/reset_event/index.html b/files/zh-cn/web/api/htmlformelement/reset_event/index.html new file mode 100644 index 0000000000..bc9c2c01b5 --- /dev/null +++ b/files/zh-cn/web/api/htmlformelement/reset_event/index.html @@ -0,0 +1,57 @@ +--- +title: reset +slug: Web/API/HTMLFormElement/reset_event +translation_of: Web/API/HTMLFormElement/reset_event +--- +

当表单被重置时触发reset事件。

+ +

综合信息

+ +
+
Specification
+
HTML5
+
Interface
+
{{domxref("Event")}}
+
Bubbles
+
是(可以指定不发生冒泡的简单事件)
+
Cancelable
+
+
Target
+
Element
+
默认行为
+
重置父表单元素所有的值。
+
+ +

属性

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PropertyTypeDescription
target {{readonlyInline}}{{domxref("EventTarget")}}事件的目标(DOM树最顶端的元素)。
type {{readonlyInline}}{{domxref("DOMString")}}事件的类型。
bubbles {{readonlyInline}}{{jsxref("Boolean")}}是否指定事件冒泡。
cancelable {{readonlyInline}}{{jsxref("Boolean")}}事件是否可以被取消。
-- cgit v1.2.3-54-g00ecf