@carbon/ibm-products-web-components
Version:
Carbon for IBM Products Web Components
44 lines (43 loc) • 1.17 kB
TypeScript
/**
* @license
*
* Copyright IBM Corp. 2025, 2025
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import { LitElement } from 'lit';
import '@carbon/web-components/es/components/breadcrumb/index.js';
import '@carbon/web-components/es/components/overflow-menu/index.js';
import '../../truncated-text';
import '../page-header-title-breadcrumb';
interface Breadcrumb {
text: string;
href: string;
}
export default class SetOfBreadcrumbs extends LitElement {
/**
* Hidden items that will be rendered in the overflow menu.
*/
hiddenItems: Breadcrumb[];
/**
* The list of breadcrumbs.
*/
breadcrumbsData: Breadcrumb[];
/**
* Container holding all breadcrumbs and the overflow menu.
*/
private container;
private overflowHandler;
connectedCallback(): void;
firstUpdated(): void;
disconnectedCallback(): void;
render(): import("lit-html").TemplateResult<1>;
static styles: any;
}
declare global {
interface HTMLElementTagNameMap {
'set-of-breadcrumbs': SetOfBreadcrumbs;
}
}
export {};