mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-08-07 17:48:54 +00:00
[ADF-3512] SidenavLayoutComponent option to show the sidebar on the right (#3768)
* add sidebar end start property * add demo and test * fix test * fix failing test
This commit is contained in:
@@ -24,8 +24,10 @@ import { HeaderDataService } from './header-data.service';
|
||||
})
|
||||
export class HeaderDataComponent {
|
||||
checkbox = true;
|
||||
position = 'start';
|
||||
|
||||
constructor(private headerService: HeaderDataService) {}
|
||||
constructor(private headerService: HeaderDataService) {
|
||||
}
|
||||
|
||||
hideButton() {
|
||||
this.headerService.hideMenuButton();
|
||||
@@ -59,4 +61,8 @@ export class HeaderDataComponent {
|
||||
this.headerService.changeTooltip(tooltip);
|
||||
}
|
||||
}
|
||||
|
||||
changePosition() {
|
||||
this.headerService.changePosition(this.position);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user