mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-11 13:05:08 +00:00
c3e241c81c
Starting the build navigation, Some Components added for tests.
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()
|
|
{
|
|
}
|
|
|
|
}
|