UNPKG

@esri/calcite-components

Version:

Web Components for Esri's Calcite Design System.

46 lines (44 loc) 1.27 kB
/// <reference types="../../index.d.ts" /> import { PropertyValues } from 'lit'; import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina'; import { Scale } from '../interfaces'; export declare class Loader extends LitElement { /** * When `true`, the component displays smaller. * * @default false */ inline: boolean; /** * Accessible name for the component. * * @required */ label: string; /** * Specifies the size of the component. * * @default "m" */ scale: Scale; /** * When not `inline`, displays text under the component's indicator. * * @default "" */ text: string; /** * Specifies the component type. * * Use `"indeterminate"` if finding actual progress value is impossible. Otherwise, use `"determinate"` to have the value indicate the progress or `"determinate-value"` to have the value label displayed along the progress. * * @default "indeterminate" */ type: "indeterminate" | "determinate" | "determinate-value"; /** * The component's value. Valid only for `"determinate"` indicators. Percent complete of 100. * * @default 0 */ value: number; }