UNPKG

1.77 kBTypeScriptView Raw
1import { OnChanges, SimpleChanges } from '@angular/core';
2import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3import { FlipProp, PullProp, RotateProp, SizeProp, 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 flip?: FlipProp;
12 size?: SizeProp;
13 pull?: PullProp;
14 border?: boolean;
15 inverse?: boolean;
16 rotate?: RotateProp | string;
17 fixedWidth?: boolean;
18 transform?: string | Transform;
19 renderedHTML: SafeHtml;
20 private document;
21 private config;
22 constructor(parent: FaLayersComponent, sanitizer: DomSanitizer);
23 ngOnChanges(changes: SimpleChanges): void;
24 /**
25 * Updating params by component props.
26 */
27 protected buildParams(): TextParams;
28 private updateContent;
29 static ɵfac: i0.ɵɵFactoryDeclaration<FaLayersTextComponent, [{ optional: true; }, null]>;
30 static ɵcmp: i0.ɵɵComponentDeclaration<FaLayersTextComponent, "fa-layers-text", never, { "content": { "alias": "content"; "required": false; }; "title": { "alias": "title"; "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, true, never>;
31}