UNPKG

@esri/calcite-components

Version:

Web Components for Esri's Calcite Design System.

28 lines (27 loc) 929 B
import { VNode } from "../../stencil-public-runtime"; import { Scale } from "../interfaces"; export declare class CalciteLoader { el: HTMLCalciteLoaderElement; /** Show the loader */ active: boolean; /** Inline loaders are smaller and will appear to the left of the text */ inline: boolean; /** Accessible name for the component */ label: string; /** Speficy the scale of the loader. Defaults to "m" */ scale: Scale; /** Use indeterminate if finding actual progress value is impossible */ type: "indeterminate" | "determinate"; /** Percent complete of 100, only valid for determinate indicators */ value: number; /** Text which should appear under the loading indicator (optional) */ text: string; /** Turn off spacing around the loader */ noPadding?: boolean; render(): VNode; /** * Return the proper sizes based on the scale property */ private getSize; private getInlineSize; }