source: trip-planner-front/node_modules/@fortawesome/angular-fontawesome/icon/icon.component.d.ts@ bdd6491

Last change on this file since bdd6491 was 59329aa, checked in by Ema <ema_spirova@…>, 3 years ago

adding photos

  • Property mode set to 100644
File size: 2.2 KB
Line 
1import { OnChanges, SimpleChanges } from '@angular/core';
2import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3import { FaSymbol, FlipProp, IconDefinition, IconProp, PullProp, RotateProp, SizeProp, Styles, Transform } from '@fortawesome/fontawesome-svg-core';
4import { FaConfig } from '../config';
5import { FaIconLibrary } from '../icon-library';
6import { FaStackItemSizeDirective } from '../stack/stack-item-size.directive';
7import { FaStackComponent } from '../stack/stack.component';
8export declare class FaIconComponent implements OnChanges {
9 private sanitizer;
10 private config;
11 private iconLibrary;
12 private stackItem;
13 icon: IconProp;
14 /**
15 * Specify a title for the icon.
16 * This text will be displayed in a tooltip on hover and presented to the
17 * screen readers.
18 */
19 title?: string;
20 spin?: boolean;
21 pulse?: boolean;
22 mask?: IconProp;
23 styles?: Styles;
24 flip?: FlipProp;
25 size?: SizeProp;
26 pull?: PullProp;
27 border?: boolean;
28 inverse?: boolean;
29 symbol?: FaSymbol;
30 rotate?: RotateProp;
31 fixedWidth?: boolean;
32 classes?: string[];
33 transform?: string | Transform;
34 /**
35 * Specify the `role` attribute for the rendered <svg> element.
36 *
37 * @default 'img'
38 */
39 a11yRole: string;
40 renderedIconHTML: SafeHtml;
41 constructor(sanitizer: DomSanitizer, config: FaConfig, iconLibrary: FaIconLibrary, stackItem: FaStackItemSizeDirective, stack: FaStackComponent);
42 ngOnChanges(changes: SimpleChanges): never;
43 /**
44 * Programmatically trigger rendering of the icon.
45 *
46 * This method is useful, when creating {@link FaIconComponent} dynamically or
47 * changing its inputs programmatically as in these cases icon won't be
48 * re-rendered automatically.
49 */
50 render(): void;
51 protected findIconDefinition(i: IconProp | IconDefinition): IconDefinition | null;
52 protected buildParams(): {
53 title: string;
54 transform: Transform;
55 classes: string[];
56 mask: IconDefinition;
57 styles: Styles;
58 symbol: string | boolean;
59 attributes: {
60 role: string;
61 };
62 };
63 private renderIcon;
64}
Note: See TracBrowser for help on using the repository browser.