UNPKG

@trimble-oss/moduswebcomponents

Version:

Modus Web Components is a modern, accessible UI library built with Stencil JS that provides reusable web components following Trimble's Modus design system. This updated version focuses on improved flexibility, enhanced theming options, comprehensive cust

23 lines (22 loc) 802 B
import { DaisySize } from '../types'; export type LoaderVariant = 'ball' | 'bars' | 'dots' | 'infinity' | 'ring' | 'spinner'; export type LoaderColor = 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error'; /** * A customizable loader component used to indicate the loading of content */ export declare class ModusWcLoader { private inheritedAttributes; /** Reference to the host element */ el: HTMLElement; /** The color of the loader. */ color: LoaderColor; /** Custom CSS class to apply to the loader element. */ customClass?: string; /** The size of the loader. */ size: DaisySize; /** The variant of the loader. */ variant: LoaderVariant; componentWillLoad(): void; private getClasses; render(): any; }