From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../zh-cn/mozilla/tech/xul/attribute/image.onload/index.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 files/zh-cn/mozilla/tech/xul/attribute/image.onload/index.html (limited to 'files/zh-cn/mozilla/tech/xul/attribute/image.onload') diff --git a/files/zh-cn/mozilla/tech/xul/attribute/image.onload/index.html b/files/zh-cn/mozilla/tech/xul/attribute/image.onload/index.html new file mode 100644 index 0000000000..846d404d89 --- /dev/null +++ b/files/zh-cn/mozilla/tech/xul/attribute/image.onload/index.html @@ -0,0 +1,12 @@ +--- +title: image.onload +slug: Mozilla/Tech/XUL/Attribute/image.onload +translation_of: Archive/Mozilla/XUL/Attribute/image.onload +--- +
« XUL Reference home
+ +
+
image.onload
+
类型: 脚本代码
+
该事件的处理函数将会在 image 元素指示的图片加载完毕之后触发。此事件触发适用于用 src 元素属性或用 list-style-image css属性声明元素样式。如果图片的加载源发生变化,该事件会在图片加载完毕之后再次触发。该事件不会在文档树上向上冒泡。
+
-- cgit v1.2.3-54-g00ecf