New to Kendo UI for Angular? Start a free 30-day trial
PauseEvent
Arguments for the pause
event. The pause
event fires when the user
pauses a file that is currently uploading.
@Component({
selector: 'my-upload',
template: `
<kendo-upload
[chunkable]="true"
[saveUrl]="uploadSaveUrl"
[removeUrl]="uploadRemoveUrl"
(pause)="pauseEventHandler($event)">
</kendo-upload>
`
})
export class UploadComponent {
uploadSaveUrl = 'saveUrl'; // should represent an actual API endpoint
uploadRemoveUrl = 'removeUrl'; // should represent an actual API endpoint
pauseEventHandler(ev: PauseEvent) {
console.log('File paused');
}
}
Name | Type | Default | Description |
---|---|---|---|
file |
|
The file that is going to be paused. |