icon.component.d.ts 1.0 KB

123456789101112131415161718192021
  1. import { ElementRef, OnInit, Renderer2 } from '@angular/core';
  2. import * as i0 from "@angular/core";
  3. export declare class IconComponent implements OnInit {
  4. private renderer;
  5. private document;
  6. private el;
  7. icon: string;
  8. iconClass: string;
  9. fill: string;
  10. strokeWidth: number;
  11. strokeColor: string;
  12. size: string;
  13. iconPath: string;
  14. constructor(renderer: Renderer2, document: Document, el: ElementRef);
  15. ngOnInit(): void;
  16. getFormattedColor(color: string): string;
  17. getIconPath(): string;
  18. private injectSVG;
  19. static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
  20. static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "ct-icon", never, { "icon": { "alias": "icon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; }; "strokeColor": { "alias": "strokeColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
  21. }