UNPKG

carbon-components-angular

Version:
66 lines (62 loc) 2.56 kB
/** * * carbon-angular v0.0.0 | breadcrumb.component.d.ts * * Copyright 2014, 2024 IBM * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { QueryList, AfterContentInit, EventEmitter } from "@angular/core"; import { BreadcrumbItem } from "./breadcrumb-item.interface"; import { BreadcrumbItemComponent } from "./breadcrumb-item.component"; import { Router } from "@angular/router"; import { I18n } from "carbon-components-angular/i18n"; import * as i0 from "@angular/core"; /** * Get started with importing the module: * * ```typescript * import { BreadcrumbModule } from 'carbon-components-angular'; * ``` * * [See demo](../../?path=/story/components-breadcrumb--basic) */ export declare class Breadcrumb implements AfterContentInit { protected i18n: I18n; protected router: Router; children: QueryList<BreadcrumbItemComponent>; items: Array<BreadcrumbItem>; noTrailingSlash: boolean; ariaLabel: string; set skeleton(value: any); get skeleton(): any; set threshold(threshold: number); get threshold(): number; /** * Emits the navigation status promise when the link is activated */ navigation: EventEmitter<Promise<boolean>>; get shouldShowContent(): boolean; get shouldShowOverflow(): boolean; get first(): BreadcrumbItem; get overflowItems(): Array<BreadcrumbItem>; get secondLast(): BreadcrumbItem; get last(): BreadcrumbItem; protected _threshold: number; protected _skeleton: boolean; constructor(i18n: I18n, router: Router); ngAfterContentInit(): void; navigate(event: any, item: BreadcrumbItem): void; protected updateChildren(): void; static ɵfac: i0.ɵɵFactoryDeclaration<Breadcrumb, [null, { optional: true; }]>; static ɵcmp: i0.ɵɵComponentDeclaration<Breadcrumb, "cds-breadcrumb, ibm-breadcrumb", never, { "items": "items"; "noTrailingSlash": "noTrailingSlash"; "ariaLabel": "ariaLabel"; "skeleton": "skeleton"; "threshold": "threshold"; }, { "navigation": "navigation"; }, ["children"], ["*"], false>; }