adds a draggable node to vault
nodeId | string|number|HTMLElement | id of the node or node DOM element |
fileData | object | file data which will be sent to the server |
// file data which will be sent to the server
var fileData = {
name: "price.xls", // file name, mandatory
size: 257412, // file size, optional
key_a: "valueA", // any custom key-value pairs
key_b: "valueB"
};
myVault.addDraggableNode("nodeId", fileData);
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.
added in version 2.3
Back to top