@webilix/ngx-helper-m3
Version:
Helper library for Angular and Material 3
26 lines (25 loc) • 1.05 kB
TypeScript
import { AfterViewInit } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { NgxHelperToastService } from '../../toast/ngx-helper-toast.service';
import { INgxHelperHttpDownloadConfig } from '../ngx-helper-http.interface';
import * as i0 from "@angular/core";
export declare class DownloadComponent implements AfterViewInit {
private readonly httpClient;
private readonly ngxHelperToastService;
private host;
private className;
bottom: string;
id: string;
path: string;
title: string;
config: Partial<INgxHelperHttpDownloadConfig>;
onSuccess: (arrayBuffer: ArrayBuffer) => void;
onError: () => void;
close: () => void;
progress: number;
constructor(httpClient: HttpClient, ngxHelperToastService: NgxHelperToastService);
ngAfterViewInit(): void;
download(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<DownloadComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<DownloadComponent, "ng-component", never, {}, {}, never, never, true, never>;
}