angular-cn/aio/dist/generated/docs/api/common/http/HttpDownloadProgressEvent.json

5 lines
5.7 KiB
JSON

{
"id": "api/common/http/HttpDownloadProgressEvent",
"title": "HttpDownloadProgressEvent",
"contents": "\n\n<article>\n <div class=\"breadcrumb-container\">\n <div class=\"breadcrumb\">\n <script type=\"application/ld+json\">\n {\n \"@context\": \"http://schema.org\",\n \"@type\": \"BreadcrumbList\",\n \"itemListElement\": [\n { \"@type\": \"ListItem\", \"position\": 1, \"item\": { \"@id\": \"https://angular.io//api\", \"name\": \"API\" } },\n { \"@type\": \"ListItem\", \"position\": 2, \"item\": { \"@id\": \"https://angular.io/api/common\", \"name\": \"@angular/common\" } },\n { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://angular.io/api/common/http\", \"name\": \"@angular/common/http\" } },\n { \"@type\": \"ListItem\", \"position\": 4, \"item\": { \"@id\": \"https://angular.io/api/common/http/HttpDownloadProgressEvent\", \"name\": \"HttpDownloadProgressEvent\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a> > <a href=\"api/common\">@angular/common</a> > <a href=\"api/common/http\">@angular/common/http</a>\n </div>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/common/http/src/response.ts?message=docs(common)%3A%20describe%20your%20change...#L70-L85\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/common/http/src/response.ts#L70-L85\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n \n <header class=\"api-header\">\n <h1 id=\"httpdownloadprogressevent\">HttpDownloadProgressEvent<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/common/http/HttpDownloadProgressEvent#httpdownloadprogressevent\"><i class=\"material-icons\">link</i></a></h1>\n \n <label class=\"api-type-label interface\">interface</label>\n \n \n \n </header>\n \n <aio-toc class=\"embedded\"></aio-toc>\n\n <div class=\"api-body\">\n \n <section class=\"short-description\">\n <p>A download progress event.</p>\n\n \n </section>\n \n \n <section class=\"interface-overview\">\n<code-example language=\"ts\" hidecopy=\"true\">\ninterface <a href=\"api/common/http/HttpDownloadProgressEvent\" class=\"code-anchor\">HttpDownloadProgressEvent</a> extends <a class=\"code-anchor\" href=\"api/common/http/HttpProgressEvent\">HttpProgressEvent</a> {\n <a class=\"code-anchor\" href=\"api/common/http/HttpDownloadProgressEvent#type\"><span class=\"member-name\">type</span>: HttpEventType.DownloadProgress</a>\n <a class=\"code-anchor\" href=\"api/common/http/HttpDownloadProgressEvent#partialText\"><span class=\"member-name\">partialText</span>?: string</a>\n\n // inherited from <a class=\"code-anchor\" href=\"api/common/http/HttpProgressEvent\">common/http/HttpProgressEvent</a>\n <a class=\"code-anchor\" href=\"api/common/http/HttpProgressEvent#type\"><span class=\"member-name\">type</span>: HttpEventType.DownloadProgress | HttpEventType.UploadProgress</a>\n <a class=\"code-anchor\" href=\"api/common/http/HttpProgressEvent#loaded\"><span class=\"member-name\">loaded</span>: number</a>\n <a class=\"code-anchor\" href=\"api/common/http/HttpProgressEvent#total\"><span class=\"member-name\">total</span>?: number</a>\n}\n</code-example>\n\n \n \n\n\n \n \n\n</section>\n\n \n\n \n \n \n<section class=\"instance-properties\">\n <h2 id=\"properties\">Properties<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/common/http/HttpDownloadProgressEvent#properties\"><i class=\"material-icons\">link</i></a></h2>\n <table class=\"is-full-width list-table property-table\">\n <thead>\n <tr>\n <th>Property</th>\n <th>Description</th>\n </tr>\n </thead>\n <tbody>\n \n <tr class=\"instance-property\">\n <td>\n <a id=\"type\"></a>\n <code class=\"\"><span class=\"member-name\">type</span>: <a href=\"api/common/http/HttpEventType#DownloadProgress\" class=\"code-anchor\">HttpEventType.DownloadProgress</a></code>\n </td>\n <td>\n \n \n \n </td>\n </tr>\n \n <tr class=\"instance-property\">\n <td>\n <a id=\"partialText\"></a>\n <code class=\"\"><span class=\"member-name\">partialText</span>?: string</code>\n </td>\n <td>\n \n <p>The partial response body as downloaded so far.</p>\n\n <p>Only present if the responseType was <code>text</code>.</p>\n\n </td>\n </tr>\n \n </tbody>\n </table>\n</section>\n \n\n\n \n\n\n </div>\n</article>\n\n<!-- links to this doc:\n - api/common/http\n - api/common/http/HttpProgressEvent\n-->\n<!-- links from this doc:\n - /api\n - api/common\n - api/common/http\n - api/common/http/HttpDownloadProgressEvent#httpdownloadprogressevent\n - api/common/http/HttpDownloadProgressEvent#partialText\n - api/common/http/HttpDownloadProgressEvent#properties\n - api/common/http/HttpDownloadProgressEvent#type\n - api/common/http/HttpEventType#DownloadProgress\n - api/common/http/HttpProgressEvent\n - api/common/http/HttpProgressEvent#loaded\n - api/common/http/HttpProgressEvent#total\n - api/common/http/HttpProgressEvent#type\n - https://github.com/angular/angular/edit/master/packages/common/http/src/response.ts?message=docs(common)%3A%20describe%20your%20change...#L70-L85\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/common/http/src/response.ts#L70-L85\n-->"
}