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

25 lines (24 loc) 958 B
import { Orientation } from '../types'; /** * A customizable divider component used to separate content horizontally or vertically */ export declare class ModusWcDivider { private inheritedAttributes; /** Reference to the host element */ el: HTMLElement; /** The color of the divider line. */ color?: 'primary' | 'secondary' | 'tertiary' | 'high-contrast' | 'success' | 'warning' | 'danger'; /** The content to display in the divider. */ content?: string; /** Custom CSS class to apply to the divider element. */ customClass?: string; /** The orientation of the divider. This is in reference to how content will be rendered around the divider. */ orientation?: Orientation; /** The position of the divider. */ position?: 'center' | 'end' | 'start'; /** Whether the divider is responsive or not. */ responsive?: boolean; componentWillLoad(): void; private getClasses; render(): any; }