UNPKG

@esri/calcite-components

Version:

Web Components for Esri's Calcite Design System.

31 lines (30 loc) 897 B
import { VNode } from "../../stencil-public-runtime"; import { Scale } from "../interfaces"; export declare class Loader { el: HTMLCalciteLoaderElement; /** When `true`, displays smaller and appears to the left of the text. */ inline: boolean; /** Accessible name for the component. */ label: string; /** Specifies the size of the component. */ scale: Scale; /** * Specifies the component type. * * Use `"indeterminate"` if finding actual progress value is impossible. * */ type: "indeterminate" | "determinate"; /** The component's value. Valid only for `"determinate"` indicators. Percent complete of 100. */ value: number; /** Text that displays under the component's indicator. */ text: string; render(): VNode; /** * Return the proper sizes based on the scale property * * @param scale */ private getSize; private getInlineSize; }