@engie-group/fluid-design-system-angular
Version:
Fluid Design System Angular
39 lines (38 loc) • 1.6 kB
TypeScript
import { NgIfContext } from '@angular/common';
import { AfterContentInit, TemplateRef } from '@angular/core';
import { IconButtonProperties } from '@engie-group/fluid-types';
import * as i0 from "@angular/core";
export declare class IconButtonComponent implements AfterContentInit, IconButtonProperties {
protected iconTemplateRef?: TemplateRef<NgIfContext<string>>;
/**
* Button variant theme
* @default `primary`
*/
variant?: IconButtonProperties['variant'];
/**
* Icon button size
* @deprecated Use `scale` attribute instead
*/
size?: IconButtonProperties['scale'];
/**
* Icon button size
*/
scale?: IconButtonProperties['scale'];
/**
* Whether button has custom icon
*/
hasCustomIcon: boolean;
/**
* Button material icon
*/
icon?: IconButtonProperties['icon'];
/**
* Alternative label for assistive technologies
*/
altLabel?: string;
private template?;
ngAfterContentInit(): void;
protected get classes(): string[];
static ɵfac: i0.ɵɵFactoryDeclaration<IconButtonComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<IconButtonComponent, "button[nj-icon-button]", never, { "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; "hasCustomIcon": { "alias": "hasCustomIcon"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "altLabel": { "alias": "altLabel"; "required": false; }; }, {}, ["template"], never, true, never>;
}