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');
}
}
Name | Type | Default | Description |
---|---|---|---|
files |
|
The files that you are currently uploading. | |
percentComplete |
|
The upload progress as a percentage from 0 to 100. |