JavaScript/jQuery FileManager - upload

Configures upload settings.

Type:

Object

app.component.html
app.module.ts
  • <dx-file-manager id="fileManager">
  • <dxo-upload [chunkSize]="500000" [maxFileSize]="1000000" ></dxo-upload>
  • <!-- ... -->
  • </dx-file-manager>
  • import { BrowserModule } from '@angular/platform-browser';
  • import { NgModule } from '@angular/core';
  • import { AppComponent } from './app.component';
  • import { DxFileManagerModule } from 'devextreme-angular';
  •  
  • @NgModule({
  • declarations: [
  • AppComponent
  • ],
  • imports: [
  • BrowserModule,
  • DxFileManagerModule
  • ],
  • //...
  • })
  • export class AppModule { }

chunkSize

Specifies a chunk size, in bytes.

Type:

Number

Default Value: 200000

The FileManager can divide a large file in parts and upload them in separate requests.

maxFileSize

Specifies the maximum upload file size, in bytes.

Type:

Number

Default Value: 0