Commit 4adb2c33 by Tuukka Kivilahti

not yet ready

1 parent bd78545d
import {Component, OnInit, Input} from '@angular/core';
import {Component, OnInit} from '@angular/core';
import {MenuGroup} from '../models/menu-group.model';
import {MENU} from "../defines/menu";
import {ActivatedRoute, UrlSegment} from "@angular/router";
@Component({
selector: 'left-menu',
......@@ -12,10 +13,28 @@ export class LeftMenuComponent implements OnInit {
menu: MenuGroup[];
styleClass: string;
constructor() {
searchableMenu() {
let searchMenu = [];
searchMenu.push(MENU.INFO.map(group => {
group.items.map()
}
));
}
constructor(private route: ActivatedRoute) {
this.route.url.subscribe(segments => {
});
}
ngOnInit() {
this.menu = MENU.INFO;
this.styleClass = "infoMenu";
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!