@progress/kendo-angular-upload
Version:
Kendo UI Angular Upload Component
45 lines (44 loc) • 1.43 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { FileInfo } from '../types';
/**
* Arguments for the `resume` event. The `resume` event fires when the user
* resumes the upload of a file that has been previously paused.
*
* ```ts-no-run
* @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');
* }
* }
* ```
*
*/
export declare class ResumeEvent {
/**
* The file that is going to be resumed.
*/
file: FileInfo;
/**
* @hidden
* Constructs the event arguments for the `resume` event.
* @param file - The file that is going to be resumed.
*/
constructor(file: FileInfo);
}