diff options
Diffstat (limited to 'files/zh-cn/web/api/filerequest')
-rw-r--r-- | files/zh-cn/web/api/filerequest/index.html | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/filerequest/index.html b/files/zh-cn/web/api/filerequest/index.html new file mode 100644 index 0000000000..c7662405c2 --- /dev/null +++ b/files/zh-cn/web/api/filerequest/index.html @@ -0,0 +1,57 @@ +--- +title: FileRequest +slug: Web/API/FileRequest +tags: + - API + - 引用 + - 接口 + - 文件 + - 文件请求 +translation_of: Web/API/FileRequest +--- +<p>{{APIRef("File System API")}}{{obsolete_header()}}</p> + +<h2 id="概述">概述</h2> + +<p>这个 <code>FileRequest</code> 接口继承自 {{domxref("DOMRequest")}} 接口,用来提供一些 {{domxref("LockedFile")}} 对象需要的额外的必要的属性。</p> + +<h2 id="Properties" name="Properties">属性</h2> + +<dl> + <dt>{{domxref("FileRequest.lockedFile")}} {{readonlyinline}}</dt> + <dd>请求产生的<span style="line-height: 1.5;">{{domxref("LockedFile")}} 对象。</span></dd> + <dt>{{domxref("FileRequest.onprogress")}}</dt> + <dd><code>FileRequest</code> 在处理操作过程中不断调用的一个回调函数的引用。</dd> +</dl> + +<p><code>FileRequest</code> 接口也继承了 {{domxref("DOMRequest")}} 接口。</p> + +<p>{{page("/en-US/docs/Web/API/DOMRequest","Properties")}}</p> + +<h2 id="Method_overview" name="Method_overview">方法</h2> + +<p>无。</p> + +<h2 id="Browser_Compatibility" name="Browser_Compatibility">Specifications</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">Specification</th> + <th scope="col">Status</th> + <th scope="col">Comment</th> + </tr> + <tr> + <td>{{SpecName('FileSystem')}}</td> + <td>{{Spec2('FileSystem')}}</td> + <td>Draft proposal.</td> + </tr> + </tbody> +</table> + +<h2 id="See_also" name="See_also">查看相关</h2> + +<ul> + <li>{{domxref("FileHandle")}}</li> + <li>{{domxref("LockedFile")}}</li> +</ul> |