2017-09-25 13:07:52 +02:00
|
|
|
import { Component, OnInit } from '@angular/core';
|
2017-10-31 14:44:47 +01:00
|
|
|
import {Http} from "@angular/http";
|
|
|
|
import {MatIconRegistry} from "@angular/material";
|
|
|
|
import {DomSanitizer} from "@angular/platform-browser";
|
2017-09-25 13:07:52 +02:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'app-root',
|
|
|
|
templateUrl: './app.component.html',
|
|
|
|
styleUrls: ['./app.component.css']
|
|
|
|
})
|
|
|
|
export class AppComponent implements OnInit {
|
2017-10-31 14:44:47 +01:00
|
|
|
constructor(http: Http, iconReg: MatIconRegistry, sanitizer: DomSanitizer) {
|
|
|
|
iconReg.addSvgIcon('gns3', sanitizer.bypassSecurityTrustResourceUrl('./assets/gns3_icon.svg'));
|
|
|
|
}
|
|
|
|
|
2017-09-25 13:07:52 +02:00
|
|
|
ngOnInit(): void {
|
|
|
|
}
|
|
|
|
}
|