UNPKG

3.13 kBTypeScriptView Raw
1import { OnChanges, SimpleChanges } from '@angular/core';
2import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3import { FlipProp, PullProp, RotateProp, SizeProp, Styles, TextParams, Transform } from '@fortawesome/fontawesome-svg-core';
4import { FaLayersComponent } from './layers.component';
5import * as i0 from "@angular/core";
6export declare class FaLayersTextComponent 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 /**
30 * @deprecated This input was incorrectly exposed and never worked correctly. To be removed in 0.14.0.
31 */
32 set spin(value: boolean);
33 /**
34 * @deprecated This input was incorrectly exposed and never worked correctly. To be removed in 0.14.0.
35 */
36 set pulse(value: boolean);
37 flip?: FlipProp;
38 size?: SizeProp;
39 pull?: PullProp;
40 border?: boolean;
41 inverse?: boolean;
42 rotate?: RotateProp;
43 fixedWidth?: boolean;
44 transform?: string | Transform;
45 renderedHTML: SafeHtml;
46 private animation;
47 constructor(parent: FaLayersComponent, sanitizer: DomSanitizer);
48 ngOnChanges(changes: SimpleChanges): void;
49 /**
50 * Updating params by component props.
51 */
52 protected buildParams(): TextParams;
53 private updateContent;
54 static ɵfac: i0.ɵɵFactoryDeclaration<FaLayersTextComponent, [{ optional: true; }, null]>;
55 static ɵcmp: i0.ɵɵComponentDeclaration<FaLayersTextComponent, "fa-layers-text", never, { "content": { "alias": "content"; "required": false; }; "title": { "alias": "title"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "classes": { "alias": "classes"; "required": false; }; "spin": { "alias": "spin"; "required": false; }; "pulse": { "alias": "pulse"; "required": false; }; "flip": { "alias": "flip"; "required": false; }; "size": { "alias": "size"; "required": false; }; "pull": { "alias": "pull"; "required": false; }; "border": { "alias": "border"; "required": false; }; "inverse": { "alias": "inverse"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "fixedWidth": { "alias": "fixedWidth"; "required": false; }; "transform": { "alias": "transform"; "required": false; }; }, {}, never, never, false, never>;
56}