@obliczeniowo/elementary
Version:
Library made in Angular version 19
27 lines (26 loc) • 1.12 kB
TypeScript
import { IconResourceService } from './../../services/icon-resource.service';
import { ElementRef } from '@angular/core';
import * as i0 from "@angular/core";
/**
* Icon component that let you display registered icon with IconResourceService
*
* @example
*
* <obl-icon name="search" [size]="20"></obl-icon>
*/
export declare class IconComponent {
protected iconResource: IconResourceService;
protected elementRef: ElementRef<HTMLElement>;
/**
* registered icon name
*/
name: import("@angular/core").InputSignal<string>;
/**
* Width in px or css like things
*/
width: import("@angular/core").InputSignal<string | number>;
get widthStyle(): string | number;
constructor(iconResource: IconResourceService, elementRef: ElementRef<HTMLElement>);
static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "obl-icon", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
}