New to Kendo UI for Angular? Start a free 30-day trial
ClearEvent
Updated on Jun 20, 2025
Arguments for the clear event. The clear event fires when
the Clear button is clicked and selected files are about to be cleared.
typescript
@Component({
template: `
<kendo-upload (clear)="clearEventHandler($event)"></kendo-upload>
`
})
export class UploadComponent {
public clearEventHandler(e: ClearEvent) {
console.log('Clearing the file upload');
}
}
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. |