lct-components
Version:
LCT basic components
29 lines (28 loc) • 1.37 kB
TypeScript
import { AfterViewInit, ElementRef, OnChanges, OnInit, Renderer2, SimpleChanges } from '@angular/core';
import * as i0 from "@angular/core";
export declare class ButtonComponent implements OnInit, AfterViewInit, OnChanges {
private renderer;
title: string;
buttonType: 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'quintary' | 'sextary' | 'error' | 'success';
disabled: 'true' | 'false' | 'disabled' | boolean | '';
shape: 'normal' | 'round';
icon: string;
width: string;
height: string;
bold: 'true' | 'false' | boolean;
iconWidth: number;
iconHeight: number;
counter: number;
id?: string;
button: ElementRef | undefined;
disabledValue: boolean;
boldValue: boolean;
get buttonId(): string | null;
constructor(renderer: Renderer2);
ngAfterViewInit(): void;
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
renderButtonType(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "lct-button", never, { "title": "title"; "buttonType": "buttonType"; "disabled": "disabled"; "shape": "shape"; "icon": "icon"; "width": "width"; "height": "height"; "bold": "bold"; "iconWidth": "iconWidth"; "iconHeight": "iconHeight"; "counter": "counter"; "id": "id"; }, {}, never, never>;
}