defines a collection of string resources
data | object | string resources |
// for defined instance after init
var myVault = new dhtmlXVaultObject(...);
myVault.setStrings({
done: "Done", // text under filename in files list
error: "Error", // text under filename in files list
btnAdd: "Browse", // button "add files"
btnUpload: "Upload", // button "upload"
btnCancel: "Cancel", // button "cancel uploading"
btnClean: "Clear", // button "clear all"
dnd: "Drop files here" // dnd text while the user is dragging files
});
// for all instances, call once before init
dhtmlXVaultObject.prototype.strings = {
...
};
This API page is for Vault v2.5. Please go to docs.dhtmlx.com/vault/ to see API reference for the current version of dhtmlxVault.
The method is added in version 1.5
The "dnd" attribute is added in version 2.1