@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
23 lines (22 loc) • 931 B
TypeScript
import { VNode } from "../../stencil-public-runtime";
import { Scale, Status } from "../interfaces";
import { InputMessageType } from "./interfaces";
export declare class CalciteInputMessage {
el: HTMLCalciteInputMessageElement;
active: boolean;
/** when used as a boolean set to true, show a default icon based on status. You can
* also pass a calcite-ui-icon name to this prop to display a custom icon */
icon: boolean | string;
/** specify the scale of the input, defaults to m */
scale: Scale;
/** specify the status of the input field, determines message and icons */
status: Status;
/** specify the appearance of any slotted message - default (displayed under input), or floating (positioned absolutely under input) */
type: InputMessageType;
handleIconEl(): void;
connectedCallback(): void;
render(): VNode;
/** the computed icon to render */
private requestedIcon?;
private renderIcon;
}