/**
 * Made by mkcomponent.sh
 * * Change to Fileheader info *
*/

// Core imports
import { Component, OnInit } from '@angular/core'
import { ActivatedRoute } from '@angular/router'
// Services


@Component({
    moduleId: module.id+ '',
    selector: 'userProfile-menu',
    templateUrl: './template/t--menu.pug',
    styleUrls: ['sty.menu.scss']
})

export class MenuComponent {

    // ---- Variables ---- \\
    currentRoute: string

    constructor(
        private _route: ActivatedRoute
    ) {
        this._route.data.subscribe((response) => {
            this.currentRoute = response.page
        })
    }


    // ---- Lifecycle hooks ---- \\
    ngOnInit() {

    }


    // ---- Functions ---- \\
    // * Magic * //

}
