specifies the configuration of the progress bar
Use the progressBar property of the templates configuration option instead:
const vault = new dhx.Vault("vault_container", {
uploader: {
target: "https://docs.dhtmlx.com/vault/backend/upload"
},
downloadURL: "https://docs.dhtmlx.com",
templates: { progressBar: { template: function(percent, extra) { return getBasis(extra.current) + "/" + getBasis(extra.total); } } } });
deprecated since v5.0
Back to top