All files / src/lib/tl-nav-list tl-nav-list.component.ts

100% Statements 5/5
100% Branches 0/0
100% Functions 1/1
100% Lines 4/4

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                            1x     3x     3x       3x        
import { ChangeDetectionStrategy, Component, Injector, Input } from '@angular/core';
import { Alignment } from '@wvr/elements';
import { TamuAbstractBaseComponent } from '../shared/tl-abstract-base.component';
 
/**
 * The TamuNavList Component represents a navigation list.
 * Elements within this list must be of type : wvr-nav-li elements and can be either links of action elements.
 */
@Component({
  selector: 'tl-nav-list-component',
  templateUrl: './tl-nav-list.component.html',
  styleUrls: ['./tl-nav-list.component.scss'],
  changeDetection: ChangeDetectionStrategy.Default
})
export class TlNavListComponent extends TamuAbstractBaseComponent {
 
  /** The aligned property describing the positioning of the list elements. */
  @Input() aligned: Alignment = Alignment.LEFT;
 
  /** This allows the display of the list horizontally. */
  @Input() vertical = false;
 
  // tslint:disable-next-line:unnecessary-constructor
  constructor(injector: Injector) {
    super(injector);
  }
 
}