@progress/kendo-angular-upload
Version:
Kendo UI Angular Upload Component
39 lines (38 loc) • 1.34 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 { PreventableEvent } from './preventable-event';
/**
* Arguments for the `clear` event. The `clear` event fires when
* the **Clear** button is clicked. At this point, the selected files are about to be cleared.
*
* ```ts-no-run
* @Component({
* selector: 'my-upload',
* template: `
* <kendo-upload
* [autoUpload]="false"
* [saveUrl]="uploadSaveUrl"
* [removeUrl]="uploadRemoveUrl"
* (clear)="clearEventHandler($event)">
* </kendo-upload>
* `
* })
* export class UploadComponent {
* uploadSaveUrl = 'saveUrl'; // should represent an actual API endpoint
* uploadRemoveUrl = 'removeUrl'; // should represent an actual API endpoint
*
* clearEventHandler(e: ClearEvent) {
* console.log('Clearing the file upload');
* }
* }
* ```
*/
export declare class ClearEvent extends PreventableEvent {
/**
* @hidden
* Constructs the event arguments for the `clear` event.
*/
constructor();
}