core/breadcrumb/breadcrumb.service.ts
Properties |
|
Methods |
Accessors |
constructor(rootInjector: Injector, router: Router)
|
add | ||||||||
add(item: Breadcrumb)
|
||||||||
Adds a new item to the action bar in the header.
Parameters :
Returns :
void
|
refresh |
refresh()
|
Refresh the extension factories
Returns :
void
|
remove | ||||||||
remove(item: Breadcrumb)
|
||||||||
Removes an action bar item from the header.
Parameters :
Returns :
void
|
selectPreferredByPath | ||||||||
selectPreferredByPath(path: string)
|
||||||||
Sets the crumb that contains that path to the top.
Parameters :
Returns :
void
|
sortByPreferredPath | ||||
sortByPreferredPath(breadcrumbs)
|
||||
Parameters :
Returns :
any
|
Protected emitNewState |
emitNewState()
|
Emits a new state.
Returns :
void
|
map | ||||||||
map(mappedProperty: (undefined) => void)
|
||||||||
Maps to a property and just returns that property.
Parameters :
Returns :
Observable<any>
|
factories |
Type : BreadcrumbExtension[]
|
Default value : []
|
injectors |
Type : []
|
Default value : [this.rootInjector]
|
items$ |
Type : Observable<Breadcrumb[]>
|
Readonly refreshTrigger |
Default value : new Subject()
|
Readonly state$ |
Default value : new BehaviorSubject<Set<Breadcrumb>>(new Set<Breadcrumb>())
|
state |
getstate()
|