@umbraco-ui/uui-breadcrumbs
Version:
This package contains two web components - uui-breadcrumb-item and uui-breadcrumbs. They can be used as an additional navigation to allow users to keep track and maintain awareness of their location.
33 lines (32 loc) • 1.08 kB
TypeScript
import { LitElement } from 'lit';
/**
* A breadcrumb-item to be used with the breadcrumbs component.
* @element uui-breadcrumb-item
* @slot - This slot displays elements inside the breadcrumb
* @csspart separator - change the content of the after element of this part to change the separator
*/
export declare class UUIBreadcrumbItemElement extends LitElement {
connectedCallback(): void;
/**
* Specifies the link href.
* @type {String}
* @default undefined
*/
href?: string;
/**
* Specifies if the element is the last item in the uui-breadcrumbs. Last item will not render as a link
* @type {Boolean}
* @attr last-item
* @default 'false'
*/
lastItem: boolean;
renderLinkAndSeparator(): import("lit-html").TemplateResult<1>;
renderCurrent(): import("lit-html").TemplateResult<1>;
render(): import("lit-html").TemplateResult<1>;
static styles: import("lit").CSSResult[];
}
declare global {
interface HTMLElementTagNameMap {
'uui-breadcrumb-item': UUIBreadcrumbItemElement;
}
}