specifies the configuration of the progress bar
var vault = new dhx.Vault("vault", {
uploader:{
// obligatory, the path for upload
target:"/upload"
},
progressBar: {
template: function(percent, extra) {
return getBasis(extra.current) + "/" + getBasis(extra.total);
}
}
});
You can specify a template to define the look and feel of the progress bar by setting the template property in the configuration object. The template function takes two parameters: