import { AfterViewInit, ChangeDetectorRef, Component, Input } from '@angular/core'; /** * https://de.wikipedia.org/wiki/Datei:Deutsche_Bahn_AG-Logo.svg * https://de.wikipedia.org/wiki/Deutsche_Bahn */ @Component({ selector: 'app-__cp__-logo', template: ` `, styles: [ ` .logo-path-fill-01 { fill: #e30613; fill-opacity: 1; fill-rule: nonzero; stroke: none; } .logo-path-fill-02 { fill: #ffffff; fill-opacity: 1; fill-rule: nonzero; stroke: none; } ` ] }) export class __capcp__DeutscheBahnLogoComponent implements AfterViewInit { constructor(private readonly cdr: ChangeDetectorRef) { } _height = 66.223038 / 2; @Input() set height(value: number) { this._height = value; } _width = (this._height * 94.606644) / 66.223038; ngAfterViewInit(): void { this.cdr.detach(); } }