All files / src/lib/tl-card tl-card.component.ts

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

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 31 32 33                  1x                                     1x        
import { ChangeDetectionStrategy, Component, HostBinding, Injector, Input } from '@angular/core';
import { TamuAbstractBaseComponent } from '../shared/tl-abstract-base.component';
 
@Component({
  selector: 'tl-card-component',
  templateUrl: './tl-card.component.html',
  styleUrls: ['./tl-card.component.scss'],
  changeDetection: ChangeDetectionStrategy.Default
})
export class TlCardComponent extends TamuAbstractBaseComponent {
 
  /** Used to override the type of card. */
  @Input() themeVariant;
 
  /** Used to describe the format of card. */
  @Input() panelFormat: 'solid' | 'outlined' | 'mixed';
 
 /** Designate how to expand/collapse. */
  @Input() collapseMethod: 'click' | 'none';
 
  /** Designate the initial expanded/collapsed state. */
  @Input() startCollapsed: boolean;
 
  /** Designate the actual expanded/collapsed state. */
  @Input() collapsed: 'true' | 'false';
 
  // tslint:disable-next-line:unnecessary-constructor
  constructor(injector: Injector) {
    super(injector);
  }
 
}