From e9bb21320278d88f6795525b4bb6c91b90711fcc Mon Sep 17 00:00:00 2001 From: tristantheb Date: Wed, 21 Apr 2021 16:21:07 +0200 Subject: KS: Removal of the least used macros --- files/zh-cn/web/api/filelist/index.html | 2 -- 1 file changed, 2 deletions(-) (limited to 'files/zh-cn/web/api/filelist') diff --git a/files/zh-cn/web/api/filelist/index.html b/files/zh-cn/web/api/filelist/index.html index 7912555fcf..e3cd99d860 100644 --- a/files/zh-cn/web/api/filelist/index.html +++ b/files/zh-cn/web/api/filelist/index.html @@ -13,8 +13,6 @@ translation_of: Web/API/FileList

一个 FileList 对象通常来自于一个 HTML {{HTMLElement("input")}} 元素的 files 属性,你可以通过这个对象访问到用户所选择的文件。该类型的对象还有可能来自用户的拖放操作,查看 DataTransfer 对象了解详情。

-
{{ gecko_callout_heading("1.9.2") }}
-

在 Gecko 1.9.2 之前,通过 input 元素,每次只能选择一个文件,这意味着该 input 元素的 files 属性上的 FileList 对象无论如何都只能包含一个文件。从Gecko 1.9.2 开始,如果一个 input 元素拥有 multiple 属性,则可以用它来选择多个文件。

-- cgit v1.2.3-54-g00ecf