@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
23 lines (22 loc) • 734 B
TypeScript
import { VNode } from "../../stencil-public-runtime";
import { Scale, Status } from "../interfaces";
/**
* @slot - A slot for adding text.
*/
export declare class InputMessage {
el: HTMLCalciteInputMessageElement;
/** Specifies an icon to display. */
icon: boolean | string;
/** When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`). */
iconFlipRtl: boolean;
/** Specifies the size of the component. */
scale: Scale;
/** Specifies the status of the input field, which determines message and icons. */
status: Status;
handleIconEl(): void;
connectedCallback(): void;
render(): VNode;
/** the computed icon to render */
private requestedIcon?;
private renderIcon;
}