New to Kendo UI for AngularStart a free 30-day trial

CancelEvent

Arguments for the cancel event. The cancel event fires when you cancel the upload of a file or batch of files.

typescript
@Component({
   template: `
   <kendo-upload (cancel)="cancelEventHandler($event)"></kendo-upload>
   `
 })
 export class UploadComponent {
   public cancelEventHandler(e: CancelEvent) {
     console.log('Canceling file upload', e.files);
   }
}
NameTypeDefaultDescription

files

FileInfo[]

The files that you canceled during the upload process.

Not finding the help you need?
Contact Support