@controladad/ng-base
Version:
Everything you need for Angular
28 lines (27 loc) • 1.56 kB
TypeScript
import { OnChanges, SimpleChanges, EventEmitter, OnInit, AfterViewInit, InjectionToken } from '@angular/core';
import { MatIcon } from '@angular/material/icon';
import { BASE_ICONS } from '../../../../configs';
import * as i0 from "@angular/core";
export type IconComponentType = InstanceType<typeof CacIconComponent>;
export declare const ICON_COMPONENT_CONFIG: InjectionToken<Partial<CacIconComponent>>;
export declare class CacIconComponent implements OnInit, OnChanges, AfterViewInit {
matIcon: MatIcon;
icon?: BASE_ICONS | string;
disabled: boolean;
size: string;
strokeWidth: number;
iconClass?: string;
wrapperClass?: string;
onClick: EventEmitter<MouseEvent>;
pointerEventsNone: boolean;
thisWidth: string;
thisHeight: string;
isClickable: import("@angular/core").WritableSignal<boolean>;
constructor();
ngOnInit(): void;
ngAfterViewInit(): void;
ngOnChanges(changes: SimpleChanges): void;
onClickEvent(e: MouseEvent): void;
static ɵfac: i0.ɵɵFactoryDeclaration<CacIconComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CacIconComponent, "cac-icon", never, { "icon": { "alias": "icon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "wrapperClass": { "alias": "wrapperClass"; "required": false; }; }, { "onClick": "onClick"; }, never, ["*"], true, never>;
}