UNPKG

@esri/calcite-components

Version:

Web Components for Esri's Calcite Design System.

37 lines (36 loc) 929 B
import { VNode } from "../../stencil-public-runtime"; import { Scale, Theme } from "../interfaces"; export declare class CalciteIcon { el: HTMLCalciteIconElement; /** * The name of the icon to display. The value of this property must match the icon name from https://esri.github.io/calcite-ui-icons/. */ icon: string; /** * When true, the icon will be flipped when the element direction is 'rtl'. */ flipRtl: boolean; /** * Icon scale. */ scale: Scale; /** * The icon label. * * It is recommended to set this value if your icon is semantic. */ textLabel: string; /** * Icon theme. Can be "light" or "dark". */ theme: Theme; connectedCallback(): void; disconnectedCallback(): void; componentWillLoad(): Promise<void>; render(): VNode; private intersectionObserver; private pathData; private visible; private loadIconPathData; private waitUntilVisible; }