@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
28 lines (27 loc) • 983 B
TypeScript
import { EventEmitter, VNode } from "../../stencil-public-runtime";
import { FocusRequest } from "./interfaces";
import { Alignment, Scale, Status } from "../interfaces";
export declare class CalciteLabel {
el: HTMLCalciteLabelElement;
/** specify the text alignment of the label */
alignment: Alignment;
/** specify the status of the label and any child input / input messages */
status: Status;
/** The id of the input associated with the label */
for: string;
/** specify the scale of the input, defaults to m */
scale: Scale;
/** is the wrapped element positioned inline with the label slotted text */
layout: "inline" | "inline-space-between" | "default";
/** eliminates any space around the label */
disableSpacing?: boolean;
/** is the label disabled */
disabled?: boolean;
/**
* @internal
*/
calciteLabelFocus: EventEmitter<FocusRequest>;
onClick(event: MouseEvent): void;
private handleCalciteHtmlForClicks;
render(): VNode;
}