UNPKG

2.12 kBTypeScriptView Raw
1import { OnChanges, SimpleChanges } from '@angular/core';
2import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3import { CounterParams, Styles } from '@fortawesome/fontawesome-svg-core';
4import { FaLayersComponent } from './layers.component';
5import * as i0 from "@angular/core";
6export declare class FaLayersCounterComponent implements OnChanges {
7 private parent;
8 private sanitizer;
9 content: string;
10 title?: string;
11 /**
12 * Set `style` attribute on the SVG element rendered by the component.
13 *
14 * @deprecated This input breaks view encapsulation and is not recommended.
15 * For simple cases (like colors), use `style` on the component itself, for
16 * more complex usages, explicitly opt-in to break the view encapsulation.
17 * This input is deprecated since 0.12.0 and will be removed in 0.13.0.
18 */
19 styles?: Styles;
20 /**
21 * Set `class` attribute on the SVG element rendered by the component.
22 *
23 * @deprecated This input breaks view encapsulation and is not recommended.
24 * For simple cases (like colors), use `class` on the component itself, for
25 * more complex usages, explicitly opt-in to break the view encapsulation.
26 * This input is deprecated since 0.12.0 and will be removed in 0.13.0.
27 */
28 classes?: string[];
29 position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
30 renderedHTML: SafeHtml;
31 constructor(parent: FaLayersComponent, sanitizer: DomSanitizer);
32 ngOnChanges(changes: SimpleChanges): void;
33 protected buildParams(): CounterParams;
34 private updateContent;
35 static ɵfac: i0.ɵɵFactoryDeclaration<FaLayersCounterComponent, [{ optional: true; }, null]>;
36 static ɵcmp: i0.ɵɵComponentDeclaration<FaLayersCounterComponent, "fa-layers-counter", never, { "content": { "alias": "content"; "required": false; }; "title": { "alias": "title"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "classes": { "alias": "classes"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, false, never>;
37}