converter/src/app/app.component.ts

21 lines
589 B
TypeScript
Raw Normal View History

2017-04-15 19:04:49 +02:00
import {Component, OnInit} from '@angular/core';
2018-08-31 22:56:18 +02:00
import {InputComponentManagerService} from './input-component-manager.service';
2017-04-15 19:04:49 +02:00
import {Step} from './step';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent implements OnInit {
public steps: Step[] = [];
constructor(private inputComponentManagerService: InputComponentManagerService) {
}
ngOnInit(): void {
this.steps = this.inputComponentManagerService.getAllComponents();
this.inputComponentManagerService.getFirst();
}
}