MyRepo-Ums/node_modules/@fortawesome/angular-fontawesome/icon/duotone-icon.component.d.ts
2024-01-19 11:09:11 +01:00

56 lines
2.2 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { IconDefinition, IconProp } from '@fortawesome/fontawesome-svg-core';
import { FaIconComponent } from './icon.component';
import * as i0 from "@angular/core";
export declare class FaDuotoneIconComponent extends FaIconComponent {
/**
* Swap the default opacity of each duotone icons layers. This will make an
* icons primary layer have the default opacity of 40% rather than its
* secondary layer.
*
* @default false
*/
swapOpacity?: 'true' | 'false' | boolean;
/**
* Customize the opacity of the primary icon layer.
* Valid values are in range [0, 1.0].
*
* @default 1.0
*/
primaryOpacity?: string | number;
/**
* Customize the opacity of the secondary icon layer.
* Valid values are in range [0, 1.0].
*
* @default 0.4
*/
secondaryOpacity?: string | number;
/**
* Customize the color of the primary icon layer.
* Accepts any valid CSS color value.
*
* @default CSS inherited color
*/
primaryColor?: string;
/**
* Customize the color of the secondary icon layer.
* Accepts any valid CSS color value.
*
* @default CSS inherited color
*/
secondaryColor?: string;
protected findIconDefinition(i: IconProp | IconDefinition): IconDefinition | null;
protected buildParams(): {
title: string;
transform: import("@fortawesome/fontawesome-svg-core").Transform;
classes: string[];
mask: IconDefinition;
styles: import("@fortawesome/fontawesome-svg-core").Styles;
symbol: import("@fortawesome/fontawesome-svg-core").FaSymbol;
attributes: {
role: string;
};
};
static ɵfac: i0.ɵɵFactoryDeclaration<FaDuotoneIconComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<FaDuotoneIconComponent, "fa-duotone-icon", never, { "swapOpacity": { "alias": "swapOpacity"; "required": false; }; "primaryOpacity": { "alias": "primaryOpacity"; "required": false; }; "secondaryOpacity": { "alias": "secondaryOpacity"; "required": false; }; "primaryColor": { "alias": "primaryColor"; "required": false; }; "secondaryColor": { "alias": "secondaryColor"; "required": false; }; }, {}, never, never, true, never>;
}