mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA-2782] Header - sidenav menu button expanded/collapsed state not exposed via ARIA (#1239)
* Implement the expanded aria for the sidenav toogle button
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
[color]="headerColor$ | async"
|
||||
[title]="appName$ | async"
|
||||
(clicked)="toggleClicked.emit($event)"
|
||||
[expandedSidenav]="expandedSidenav"
|
||||
>
|
||||
<div class="adf-toolbar--spacer adf-toolbar-divider"></div>
|
||||
|
||||
|
@@ -28,7 +28,8 @@ import {
|
||||
ViewEncapsulation,
|
||||
Output,
|
||||
EventEmitter,
|
||||
OnInit
|
||||
OnInit,
|
||||
Input
|
||||
} from '@angular/core';
|
||||
import { Store } from '@ngrx/store';
|
||||
import { Observable } from 'rxjs';
|
||||
@@ -51,6 +52,8 @@ export class AppHeaderComponent implements OnInit {
|
||||
@Output()
|
||||
toggleClicked = new EventEmitter();
|
||||
|
||||
@Input() expandedSidenav = true;
|
||||
|
||||
appName$: Observable<string>;
|
||||
headerColor$: Observable<string>;
|
||||
logo$: Observable<string>;
|
||||
|
Reference in New Issue
Block a user