UNPKG

931 BTypeScriptView Raw
1import { ElementRef, OnChanges, OnInit, Renderer2, SimpleChanges } from '@angular/core';
2import { SizeProp } from '@fortawesome/fontawesome-svg-core';
3import * as i0 from "@angular/core";
4export declare class FaStackComponent implements OnInit, OnChanges {
5 private renderer;
6 private elementRef;
7 /**
8 * Size of the stacked icon.
9 * Note that stacked icon is by default 2 times bigger, than non-stacked icon.
10 * You'll need to set size using custom CSS to align stacked icon with a
11 * simple one. E.g. `fa-stack { font-size: 0.5em; }`.
12 */
13 size?: SizeProp;
14 constructor(renderer: Renderer2, elementRef: ElementRef);
15 ngOnInit(): void;
16 ngOnChanges(changes: SimpleChanges): void;
17 static ɵfac: i0.ɵɵFactoryDeclaration<FaStackComponent, never>;
18 static ɵcmp: i0.ɵɵComponentDeclaration<FaStackComponent, "fa-stack", never, { "size": "size"; }, {}, never, ["*"], false, never>;
19}