Check documentation for the latest version of dhtmlxSuite setStrings DHTMLX Docs

setStrings

defines a collection of string resources

void setStrings(object data);
dataobjectstring resources

Example

// 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 = {
    ...
};

Details

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.

See also
Change log

The method is added in version 1.5
The "dnd" attribute is added in version 2.1

Back to top