Skip to content
Snippets Groups Projects
app.component.ts 525 B
Newer Older
  • Learn to ignore specific revisions
  • import { Component } from '@angular/core';
    
    import { TranslateService } from '@ngx-translate/core';
    
      selector: 'editor-aspect',
    
      template: `
    
        <div fxLayout="column" class="mainView">
    
          <app-toolbar></app-toolbar>
    
          <app-unit-view fxFlex></app-unit-view>
    
        `,
      styles: [
        '.mainView {height: 100%;}'
      ]
    
    })
    export class AppComponent {
    
      constructor(private translateService: TranslateService) {
        translateService.addLangs(['de']);
        translateService.setDefaultLang('de');
      }