@progress/kendo-angular-upload
Version:
Kendo UI Angular Upload Component
36 lines (35 loc) • 1.25 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';
import { FileInfo } from '../types';
/**
* Arguments for the `select` event. The `select` event fires when
* a file or multiple files are selected for upload. The event can be canceled to prevent selection.
*
* ```typescript
* @Component({
* template: `
* <kendo-upload (select)="selectEventHandler($event)"></kendo-upload>
* `
* })
* export class UploadComponent {
* public selectEventHandler(e: SelectEvent) {
* console.log('File selected');
* }
* }
* ```
*/
export declare class SelectEvent extends PreventableEvent {
/**
* The files that are selected for upload.
*/
files: Array<FileInfo>;
/**
* @hidden
* Constructs the event arguments for the `select` event.
* @param files - The list of the selected files.
*/
constructor(files: Array<FileInfo>);
}