New to Kendo UI for Angular? Start a free 30-day trial
SuccessEvent
Arguments for the success
event. The success
event fires when
you successfully upload or remove the selected files.
typescript
@Component({
template: `
<kendo-upload (success)="successEventHandler($event)"></kendo-upload>
`
})
export class UploadComponent {
public successEventHandler(e: SuccessEvent) {
console.log('The ' + e.operation + ' was successful!');
}
}
Name | Type | Default | Description |
---|---|---|---|
files |
|
The files that you successfully uploaded or removed. | |
operation |
|
The operation type that succeeded ( | |
response |
|
The HTTP response that the server returns to confirm success. |
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. |