@ng-doc/ui-kit
Version:
<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>
25 lines (24 loc) • 1.16 kB
TypeScript
import { HttpClient } from '@angular/common/http';
import { ElementRef, OnChanges, OnInit } from '@angular/core';
import { NgDocIconSize } from '@ng-doc/ui-kit/types';
import * as i0 from "@angular/core";
export declare class NgDocIconComponent implements OnChanges, OnInit {
private readonly elementRef;
private readonly httpClient;
/** Icon name */
icon: string;
/** Custom icon name, if not set, `icon` will be used */
customIcon: string;
/** Icon size */
size: NgDocIconSize;
private readonly reload$;
private readonly assetsPath;
private readonly customIconsPath;
constructor(elementRef: ElementRef<HTMLElement>, httpClient: HttpClient);
ngOnChanges(): void;
ngOnInit(): void;
get href(): string;
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocIconComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgDocIconComponent, "ng-doc-icon", never, { "icon": { "alias": "icon"; "required": false; }; "customIcon": { "alias": "customIcon"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
static ngAcceptInputType_size: unknown;
}