19 lines
405 B
TypeScript
19 lines
405 B
TypeScript
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
|
|
|
@Component({
|
|
selector: 'app-number',
|
|
templateUrl: './number.component.html'
|
|
})
|
|
export class NumberComponent implements OnInit {
|
|
@Input() number: number;
|
|
@Output() numberChange = new EventEmitter();
|
|
@Input() label: string;
|
|
@Input() id: string;
|
|
@Input() help: string;
|
|
|
|
constructor() { }
|
|
|
|
ngOnInit() {
|
|
}
|
|
|
|
}
|