import { HttpClient } from '@angular/common/http'; import { ChangeDetectorRef, TemplateRef } from '@angular/core'; import { OnInit } from '@angular/core'; import * as i0 from "@angular/core"; export declare class SpinnerComponent implements OnInit { http: HttpClient; private cdf; private _iconName; /** * 設定 SVG 的類型 * 參考 https://samherbert.net/svg-loaders/ */ set iconName(value: string); /** * 背景的樣式,可自行套用 background 來更改背景 */ backdropCSSClass: string; /** * loading 的圖案樣式,可自行套用 fill 與 stroke 修改顏色 * width、height 修改寬高 */ svgCSSClass: string; /** * 圖案下方的 template 樣式 */ textTemplateCSSClass: string; /** * loading 的開關 */ isLoading: boolean; /** * 自定義 icon 的 template */ iconTemplate: TemplateRef; /** * 自定義的文字內容 template */ textTemplate: TemplateRef; /** * 最後渲染出來的 SVG Tag */ svgHTML: string; constructor(http: HttpClient, cdf: ChangeDetectorRef); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }