mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-07-09 21:36:24 +00:00
Sidebar icons are now highlighted and focus works when instrumented from backend
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { Component, Input, OnInit } from '@angular/core';
|
||||
import { Component, Input, Output, OnInit } from '@angular/core';
|
||||
import { config } from '../config';
|
||||
|
||||
@Component({
|
||||
@ -8,10 +8,13 @@ import { config } from '../config';
|
||||
})
|
||||
|
||||
export class SidebarComponent implements OnInit {
|
||||
@Input() layout: string;
|
||||
@Input() @Output() layout: string;
|
||||
enabledLayouts: Set<string> = config.dashboard.enabledLayouts;
|
||||
constructor() {}
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
setLayout(layout: string) {
|
||||
this.layout = layout;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user