All files / src/lib/wvr-it-works wvr-it-works.component.ts

100% Statements 8/8
100% Branches 0/0
100% Functions 1/1
100% Lines 7/7

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 34 35 36 37                          1x     15x     15x     15x         15x   15x     15x        
import { ChangeDetectionStrategy, Component, HostBinding, Injector, Input } from '@angular/core';
import { ThemeVariantName } from '../shared/theme';
import { WvrBaseComponent } from '../shared/wvr-base.component';
 
/**
 * Provides a simple component to prove the basic functionality of the Weaver Components.
 */
@Component({
  selector: 'wvr-it-works-component',
  templateUrl: './wvr-it-works.component.html',
  styleUrls: ['./wvr-it-works.component.scss'],
  changeDetection: ChangeDetectionStrategy.Default
})
export class WvrItWorksComponent extends WvrBaseComponent {
 
  /** Used to define the class type for button component.  */
  @Input() themeVariant: ThemeVariantName = 'primary';
 
  /** The text value to be displayed in the title. */
  title = 'it-works-component';
 
  /** The text value to be displayed in the title. */
  @Input() text = 'Weaver Components';
 
  /** Allows for the override of the --wvr-primary css variable. */
  @HostBinding('style.--wvr-primary') @Input() primary;
 
  username = '';
 
  password = '';
 
  constructor(injector: Injector) {
    super(injector);
  }
 
}