JavaScript/jQuery FileManager - UploadInfo
import UploadInfo from "devextreme/file_management/upload_info"
customData
Custom information that you can pass during file upload. For instance, you can specify a custom file ID when the first part of a file is being uploaded.
Type:
any
jQuery
if(uploadInfo.chunkIndex === 0) { uploadInfo.customData.myId = "myIdValue"; }
Angular
if(uploadInfo.chunkIndex === 0) { uploadInfo.customData.myId = "myIdValue"; }
Vue
if(uploadInfo.chunkIndex === 0) { uploadInfo.customData.myId = "myIdValue"; }
React
if(uploadInfo.chunkIndex === 0) { uploadInfo.customData.myId = "myIdValue"; }
Feedback