SuccessEvent
Class
Arguments for the success event. The success event fires when
you successfully upload or remove the selected files.
TS
@Component({
template: `
<kendo-upload (success)="successEventHandler($event)"></kendo-upload>
`
})
export class UploadComponent {
public successEventHandler(e: SuccessEvent) {
console.log('The ' + e.operation + ' was successful!');
}
}
Definition
Package:@progress/kendo-angular-upload
Methods
If the event is prevented by any of its subscribers, returns true.
Returns:
boolean
true if the default action was prevented. Otherwise, returns false.
Prevents the default action for a specified event. In this way, the source component suppresses the built-in behavior that follows the event.
Properties
The operation type that succeeded (upload or remove).
response
HttpResponse<any>
The HTTP response that the server returns to confirm success.