UNPKG

angular-magic-breadcrumb

Version:

AngularMagicBreadcrumb is a library for self-generated breadcrumb in angular 7

27 lines (26 loc) 959 B
export declare class AngularMagicBreadcrumbService { private breadcrumbStructure; breadcrumbStructure_: import("rxjs").Observable<any[]>; private showBreadCrumbStructure; showBreadcrumbStructure_: import("rxjs").Observable<boolean>; constructor(); /** * creates a copy of the structure of breadcrumb, and sets the newValue param in the structure in the specified index * @param newValue * @param index */ setItemBreadcrumbStructure(newValue: any, index: any): void; /** * returns the value(full structure) of the breadcrumb */ getBreadcrumbStructure(): any[]; /** * Sets an empty value to the breadcrumb (resets it) */ resetBreadcrumbStructure(): void; /** * Sets the value (boolean) to the variable that indicates if the breadcrumb must be visible or not * @param value */ changeVisibilityBreadcrumb(value: boolean): void; }