Documentation
Upload
build
options | Object |
Build the upload box with the following options object:
var options = {
url: 'path-to-server-side',
element: el, // file input or another element to build upload box
name: 'uploadname',
data: {} // optional object
};
Call method:
this.app.api('module.upload.build', options);
or external call:
$R('#content', 'module.upload.build', options);
dkjgvo65776inru43654