nath-angular-ui 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -110,11 +110,25 @@ declare class BreadcrumbService {
|
|
|
110
110
|
* Set the breadcrumbs for the current view.
|
|
111
111
|
* @param crumbs Array of breadcrumbs items
|
|
112
112
|
*/
|
|
113
|
-
set(crumbs: Breadcrumb[]): void;
|
|
113
|
+
set(crumbs: (Breadcrumb | null)[]): void;
|
|
114
|
+
/**
|
|
115
|
+
* Add a new breadcrumb to the current breadcrumbs array.
|
|
116
|
+
* @param crumb
|
|
117
|
+
*/
|
|
114
118
|
add(crumb: Breadcrumb): void;
|
|
119
|
+
/**
|
|
120
|
+
* Update a breadcrumb at a specific index.
|
|
121
|
+
* @param index
|
|
122
|
+
* @param crumb
|
|
123
|
+
*/
|
|
115
124
|
update(index: number, crumb: Breadcrumb): void;
|
|
116
125
|
/**
|
|
117
|
-
*
|
|
126
|
+
* Remove a breadcrumb at a specific index.
|
|
127
|
+
* @param index
|
|
128
|
+
*/
|
|
129
|
+
remove(index: number): void;
|
|
130
|
+
/**
|
|
131
|
+
* Clear all breadcrumbs.
|
|
118
132
|
*/
|
|
119
133
|
clear(): void;
|
|
120
134
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BreadcrumbService, never>;
|