angular2-simple-ui
Version:
Angular 2 Simple Material Design UI Components customisable with Simple 30 KB CSS with LESS support and full features support , just plugin up and run for clarity look at sample examples
20 lines (19 loc) • 502 B
text/typescript
import {
NavigationModel,
RouteLinkModel
} from '../../sui/sui.navigation/sui.navigation.model';
import { Component } from '@angular/core';
import '../../public/css/style.css';
({
selector: 'my-app',
templateUrl: './app.component.html'
})
export class AppComponent {
public nav: NavigationModel;
constructor() {
this.nav = new NavigationModel('Simple UI');
let links = [new RouteLinkModel('welcome', 'Welcome'),
];
this.nav.links = links;
}
}