UNPKG

1.55 kBTypeScriptView Raw
1import { QueryList, OnInit, OnDestroy, AfterContentInit, ChangeDetectorRef, ElementRef, AfterViewInit } from '@angular/core';
2import { TdBreadcrumbComponent } from './breadcrumb/breadcrumb.component';
3import * as i0 from "@angular/core";
4export declare class TdBreadcrumbsComponent implements OnInit, AfterContentInit, AfterViewInit, OnDestroy {
5 private _elementRef;
6 private _changeDetectorRef;
7 private _resizing;
8 private _separatorIcon;
9 private _destroy$;
10 tdBreadCrumbsClass: boolean;
11 _breadcrumbs: QueryList<TdBreadcrumbComponent>;
12 hiddenBreadcrumbs: TdBreadcrumbComponent[];
13 /**
14 * Sets the icon url shown between breadcrumbs. Defaults to 'chevron_right'.
15 */
16 set separatorIcon(separatorIcon: string);
17 get separatorIcon(): string;
18 constructor(_elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef);
19 ngOnInit(): void;
20 ngAfterViewInit(): void;
21 ngAfterContentInit(): void;
22 ngOnDestroy(): void;
23 get nativeElementWidth(): number;
24 /**
25 * The total count of individual breadcrumbs
26 */
27 get count(): number;
28 /**
29 * Set the crumb icon separators
30 */
31 private setCrumbIcons;
32 private _calculateVisibility;
33 private _waitToCalculateVisibility;
34 static ɵfac: i0.ɵɵFactoryDeclaration<TdBreadcrumbsComponent, never>;
35 static ɵcmp: i0.ɵɵComponentDeclaration<TdBreadcrumbsComponent, "td-breadcrumbs", never, { "separatorIcon": { "alias": "separatorIcon"; "required": false; }; }, {}, ["_breadcrumbs"], ["*"], false, never>;
36}