New to Kendo UI for Angular? Start a free 30-day trial
SelectEvent
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');
}
}
Methods
isDefaultPrevented | ||||
---|---|---|---|---|
If the event is prevented by any of its subscribers, returns | ||||
|
preventDefault |
---|
Prevents the default action for a specified event. In this way, the source component suppresses the built-in behavior that follows the event. |