Uncommited changes synced
authorAlan <alan@roojs.com>
Tue, 28 Dec 2021 03:45:47 +0000 (11:45 +0800)
committerAlan <alan@roojs.com>
Tue, 28 Dec 2021 03:45:47 +0000 (11:45 +0800)
Pman.Download.js

index 62e845b..23cf3a4 100644 (file)
@@ -18,8 +18,9 @@ var t = new Pman.Download({
 * 
 * @constructor
 * @param {Object} cfg   Configuration object.
+* @cfg {Object}  params  params to send
 * @cfg {String} url     Location to download from.
-* @cfg {String} method     GET or POST (default GET), POST will create a form, and post that into the hidden frame.
+* @cfg {String} method (GET|POST)    GET or POST (default GET), POST will create a form, and post that into the hidden frame.
 * @cfg {Boolean} newWindow (optional) download to new window
 * @cfg {String} doctype (optional) download PDF to new window
 * @cfg {Boolean} limit (optional) limit for grid downloads.