New to Kendo UI for Angular? Start a free 30-day trial
ResumeEvent
Arguments for the resume
event. The resume
event fires when the user
resumes the upload of a file that has been previously paused.
ts
@Component({
selector: 'my-upload',
template: `
<kendo-upload
[chunkable]="true"
[saveUrl]="uploadSaveUrl"
[removeUrl]="uploadRemoveUrl"
(resume)="resumeEventHandler($event)">
</kendo-upload>
`
})
export class UploadComponent {
uploadSaveUrl = 'saveUrl'; // should represent an actual API endpoint
uploadRemoveUrl = 'removeUrl'; // should represent an actual API endpoint
resumeEventHandler(ev: ResumeEvent) {
console.log('File resumed');
}
}