@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
35 lines (34 loc) • 866 B
TypeScript
import { VNode } from "../../stencil-public-runtime";
import { Scale } from "../interfaces";
export declare class Icon {
el: HTMLCalciteIconElement;
/**
* Displays a specific icon.
*
* @see [Icons](https://esri.github.io/calcite-ui-icons)
*/
icon: string;
/**
* When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`).
*/
flipRtl: boolean;
/**
* Specifies the size of the component.
*/
scale: Scale;
/**
* Accessible name for the component.
*
* It is recommended to set this value if your icon is semantic.
*/
textLabel: string;
connectedCallback(): void;
disconnectedCallback(): void;
componentWillLoad(): Promise<void>;
render(): VNode;
private intersectionObserver;
private pathData;
private visible;
private loadIconPathData;
private waitUntilVisible;
}