diff options
Diffstat (limited to 'files/zh-cn/web/api/filereader/onabort/index.html')
| -rw-r--r-- | files/zh-cn/web/api/filereader/onabort/index.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/filereader/onabort/index.html b/files/zh-cn/web/api/filereader/onabort/index.html new file mode 100644 index 0000000000..d992162230 --- /dev/null +++ b/files/zh-cn/web/api/filereader/onabort/index.html @@ -0,0 +1,12 @@ +--- +title: FileReader.onabort +slug: Web/API/FileReader/onabort +translation_of: Web/API/FileReader/onabort +--- +<p><strong><code>FileReader.onabort</code></strong> 属性包含在终止事件被触发时执行的事件处理程序,举例,当读取文件的过程中需要中止时。</p> + +<h2 id="语法">语法</h2> + +<pre class="brush: js">reader.onabort = function() { ... };</pre> + +<p> </p> |
