From 321385753c8794cadc20dfca1917396c3b791c3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E6=9D=BE=E6=9D=BE?= Date: Mon, 16 Jun 2014 20:26:00 +0800 Subject: [PATCH] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增加useIframe选项配置。 --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index c83e92d..183af32 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ var uploader = new Uploader({ accept: 'image/*', data: {'xsrf': 'hash'}, multiple: true, + useIframe: true, error: function(file) { alert(file); }, @@ -69,6 +70,10 @@ action 为 `
` 的值,表单提交的地址。 是否支持多文件上传。默认为 false。 +### useIframe `boolean` + +始终使用Iframe方式上传,默认为false。 + ### data `object` 随表单一起要提交的数据。