From: John-Lin Date: Tue, 8 Sep 2015 07:46:48 +0000 (+0800) Subject: add doc translation for file object X-Git-Tag: v0.32.1~3^2~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=8e1979a6a503a440029449508d19f7f21b067330;p=electron.git add doc translation for file object --- diff --git a/docs-translations/zh-TW/api/file-object.md b/docs-translations/zh-TW/api/file-object.md new file mode 100644 index 00000000..4f523c48 --- /dev/null +++ b/docs-translations/zh-TW/api/file-object.md @@ -0,0 +1,28 @@ +# `File` object + +DOM's File 介面提供一個將本地文件抽象化,並可以讓使用者對本地文件直接使用 HTML5 檔案 API +Electron 可以添加一個 `path` 屬性至 `File` 接口進而顯示檔案在檔案系統內的真實路徑。 + +範例,獲得一個檔案之真實路徑,將檔案拖拉至應用程式 (dragged-onto-the-app): + +```html +
+ Drag your file here +
+ + +```