22 lines
535 B
TypeScript
22 lines
535 B
TypeScript
import { Component } from "@angular/core";
|
|
|
|
import { InputareaComponent } from "./inputarea.component";
|
|
import {ConversionType} from "./conversiontype";
|
|
//import { SelectorComponent } from "./selector.component";
|
|
|
|
@Component({
|
|
selector: "den-app",
|
|
template: `
|
|
<div>
|
|
<den-inputarea></den-inputarea>
|
|
</div>
|
|
`,
|
|
directives: [InputareaComponent]
|
|
})
|
|
export class AppComponent {
|
|
private inputAreas:InputareaComponent[] = [];
|
|
|
|
constructor() {
|
|
this.inputAreas.push(new InputareaComponent());
|
|
}
|
|
}
|