mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-11 13:05:08 +00:00
26 lines
567 B
TypeScript
26 lines
567 B
TypeScript
|
import {Component, OnInit, ViewEncapsulation} from '@angular/core';
|
||
|
import {FuseNavigation} from './navigation.model';
|
||
|
|
||
|
@Component({
|
||
|
selector : 'fuse-navigation',
|
||
|
templateUrl: './navigation.component.html',
|
||
|
styleUrls : ['./navigation.component.scss'],
|
||
|
providers : [FuseNavigation],
|
||
|
encapsulation: ViewEncapsulation.None
|
||
|
|
||
|
})
|
||
|
export class NavigationComponent implements OnInit
|
||
|
{
|
||
|
navigation: object[];
|
||
|
|
||
|
constructor(fuseNavigation: FuseNavigation)
|
||
|
{
|
||
|
this.navigation = fuseNavigation.array;
|
||
|
}
|
||
|
|
||
|
ngOnInit()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
}
|