W3cubDocs

/Angular

HttpDownloadProgressEvent

interface

A download progress event.

interface HttpDownloadProgressEvent extends HttpProgressEvent {
  type: HttpEventType.DownloadProgress
  partialText?: string

  // inherited from common/http/HttpProgressEvent
  type: HttpEventType.DownloadProgress | HttpEventType.UploadProgress
  loaded: number
  total?: number
}

Properties

Property Description
type: HttpEventType.DownloadProgress
partialText?: string

The partial response body as downloaded so far.

Only present if the responseType was text.

© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/common/http/HttpDownloadProgressEvent