Components / Uploads / API / UploadProgressEvent
New to Kendo UI for Angular? Start a free 30-day trial

UploadProgressEvent

Arguments for the uploadprogress event. The uploadprogress event fires when you upload files.

typescript
 @Component({
 template: `
 <kendo-upload (uploadProgress)="uploadProgressEventHandler($event)"></kendo-upload>
 `
 })
 export class UploadComponent {
 public uploadProgressEventHandler(e: UploadProgressEvent) {
 console.log(e.files[0].name + ' is ' + e.percentComplete + ' uploaded');
 }
 }
NameTypeDefaultDescription

files

FileInfo[]

The files that you are currently uploading.

percentComplete

number

The upload progress as a percentage from 0 to 100.

Not finding the help you need?
Contact Support

AltStyle によって変換されたページ (->オリジナル) /