File tree Expand file tree Collapse file tree 4 files changed +15
-4
lines changed
Expand file tree Collapse file tree 4 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 1212 line-height : 20px ;
1313 cursor : pointer;
1414}
15+
16+ .sidebar-toggle-custom-icon : before {
17+ content : '' ;
18+ }
Original file line number Diff line number Diff line change 44 < span class ="logo-lg "> < ng-template [ngTemplateOutlet] ="headerLogoComponent?.templateRef "> </ ng-template > </ span >
55 </ a >
66 < nav class ="navbar navbar-static-top ">
7- < a *ngIf ="isSidebarLeftToggle " #sidebarLeftToggleElement href ="# " class ="sidebar-toggle ">
7+ < a *ngIf ="isSidebarLeftToggle " #sidebarLeftToggleElement href ="# " class ="sidebar-toggle {{sidebarLeftToggleIconClasses ? 'sidebar-toggle-custom-icon' : ''}} ">
88 < span class ="sr-only "> Toggle navigation</ span >
9- < span class =" icon-bar " > </ span >
10- < span class =" icon-bar "> </ span >
11- < span class =" icon-bar " > </ span >
9+ < ng-container *ngIf =" sidebarLeftToggleIconClasses " >
10+ < i [ class] =" sidebarLeftToggleIconClasses "> </ i >
11+ </ ng-container >
1212 </ a >
1313 < div *ngIf ="isSidebarRightToggle " class ="sidebar-right-toggle ">
1414 < a #sidebarRightToggleElement href ="# "> < i class ="fa fa-gears "> </ i > </ a >
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ export class HeaderComponent implements AfterViewInit, OnDestroy {
5454 private subscriptions = [ ] ;
5555
5656 @Input ( ) isSidebarLeftToggle = true ;
57+ @Input ( ) sidebarLeftToggleIconClasses ;
5758 @Input ( ) isSidebarRightToggle = true ;
5859 @Input ( ) logoLink : string | any [ ] = '/' ;
5960
Original file line number Diff line number Diff line change 3232 < td > true</ td >
3333 < td > Defines if the sidebar left toggle button is activated.</ td >
3434 </ tr >
35+ < tr >
36+ < td > sidebarLeftToggleIconClasses</ td >
37+ < td > string</ td >
38+ < td > null</ td >
39+ < td > Defines the sidebar left toggle button icon classes.</ td >
40+ </ tr >
3541 < tr >
3642 < td > isSidebarLeftToggle</ td >
3743 < td > boolean</ td >
You can’t perform that action at this time.
0 commit comments