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

26 lines (25 loc) 864 B
/** * A customizable link component used to navigate to URLs. */ export declare class ModusWcLink { private inheritedAttributes; /** Reference to the host element */ el: HTMLElement; /** The color of the link. */ color: 'primary' | 'secondary' | 'tertiary' | 'inherit' | 'success' | 'info' | 'warning' | 'danger'; /** Custom CSS class to apply to the link element. */ customClass?: string; /** The URL to navigate to when the link is activated. */ href?: string; /** The relationship attribute for the link. */ rel?: string; /** The browsing context for the link. */ target?: string; /** The underline behavior of the link. */ underline: 'always' | 'hover' | 'none'; componentWillLoad(): void; private getClasses; private getRelAttribute; private getHrefAttribute; render(): any; }