All files / app/component/help-popup help-popup.component.ts

100% Statements 12/12
88.88% Branches 8/9
100% Functions 2/2
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 3017x                     17x         13x     13x   13x   13x     13x      
import { Component, EventEmitter, Input, Output } from '@angular/core';
import { MobxAngularModule } from 'mobx-angular';
import { Store } from '../../store/store';
 
@Component({
  selector: 'app-help-popup',
  templateUrl: './help-popup.component.html',
  styleUrls: ['./help-popup.component.scss'],
  standalone: true,
  imports: [MobxAngularModule]
})
export class HelpPopupComponentI {
  @Input()
  text!: string;
 
  @Input()
  arrowPosition: 'left' | 'right' | 'top' | 'bottom' = 'left';
 
  @Output()
  nextClick = new EventEmitter<void>();
  @Output()
  previousClick = new EventEmitter<void>();
  @Output()
  doneClick = new EventEmitter<void>();
 
  constructor(
    public store: Store,
  ) { }
}