38 lines
2.1 KiB
TypeScript
38 lines
2.1 KiB
TypeScript
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
import { CounterParams, Styles } from '@fortawesome/fontawesome-svg-core';
|
|
import { FaLayersComponent } from './layers.component';
|
|
import * as i0 from "@angular/core";
|
|
export declare class FaLayersCounterComponent implements OnChanges {
|
|
private parent;
|
|
private sanitizer;
|
|
content: string;
|
|
title?: string;
|
|
/**
|
|
* Set `style` attribute on the SVG element rendered by the component.
|
|
*
|
|
* @deprecated This input breaks view encapsulation and is not recommended.
|
|
* For simple cases (like colors), use `style` on the component itself, for
|
|
* more complex usages, explicitly opt-in to break the view encapsulation.
|
|
* This input is deprecated since 0.12.0 and will be removed in 0.13.0.
|
|
*/
|
|
styles?: Styles;
|
|
/**
|
|
* Set `class` attribute on the SVG element rendered by the component.
|
|
*
|
|
* @deprecated This input breaks view encapsulation and is not recommended.
|
|
* For simple cases (like colors), use `class` on the component itself, for
|
|
* more complex usages, explicitly opt-in to break the view encapsulation.
|
|
* This input is deprecated since 0.12.0 and will be removed in 0.13.0.
|
|
*/
|
|
classes?: string[];
|
|
position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
|
|
renderedHTML: SafeHtml;
|
|
constructor(parent: FaLayersComponent, sanitizer: DomSanitizer);
|
|
ngOnChanges(changes: SimpleChanges): void;
|
|
protected buildParams(): CounterParams;
|
|
private updateContent;
|
|
static ɵfac: i0.ɵɵFactoryDeclaration<FaLayersCounterComponent, [{ optional: true; }, null]>;
|
|
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, true, never>;
|
|
}
|