Configurable cbp-header
Make cbp-header configurable
- Header state is made observable in a service to reflect
CBPToolbarState
- When header is scrolled up: scrolledState:
up
|initial
- When header menu is clicked - hasToolbarMenu: boolean
- When header expands - toolbarIsExpanded: boolean
- When header is scrolled up: scrolledState:
- Allows explicitly excluding certain parts of the header
<cbp-header [cbpAppsMenuExclude]="true" [cbpFeedbackLinkExclude]="true">
<cbp-feedback-link (click)="myFeedbackAction()"></cbp-feedback-link>
<cbp-user-menu>
<div class="mat-menu-item" (click)="myPreferences()" cbp-user-menu-item>Preferences</div>
</cbp-user-menu>
</cbp-header>
Upgrade Notes
npm upgrade to 2.1.4 version