All files / application-header si-header-siemens-logo.component.ts

100% Statements 2/2
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30                                                        1x  
/**
 * Copyright (c) Siemens 2016 - 2025
 * SPDX-License-Identifier: MIT
 */
import { ChangeDetectionStrategy, Component } from '@angular/core';
 
import { SiHeaderLogoDirective } from './si-header-logo.directive';
 
/**
 * The siemens logo.
 * Should be located inside `.header-brand`.
 *
 * @deprecated Use the {@link SiHeaderLogoDirective} instead.
 * The new component will use the logo provided by the global theme instead
 * of containing a hard coded siemens logo.
 * ```html
 * // previous
 * <a si-header-siemens-logo routerLink="/" aria-label="Siemens" class="d-none d-md-flex"></a>
 * // new
 * <a siHeaderLogo routerLink="/" class="d-none d-md-flex"></a>
 * ```
 *
 */
@Component({
  selector: 'si-header-siemens-logo, [si-header-siemens-logo]',
  template: '',
  changeDetection: ChangeDetectionStrategy.OnPush
})
export class SiHeaderSiemensLogoComponent extends SiHeaderLogoDirective {}