ts-mean
Version:
Boilerplate for a TS-MEAN App
22 lines (15 loc) • 381 B
text/typescript
import {Component, Input, OnInit} from '@angular/core';
({
selector: 'app-spacer',
templateUrl: './spacer.component.html',
styleUrls: ['./spacer.component.css']
})
export class SpacerComponent implements OnInit {
() height;
constructor() { }
ngOnInit() {
}
get getHeight(): string {
return this.height ? this.height + 'px' : '10px';
}
}