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

65.51% Statements 19/29
50% Branches 3/6
0% Functions 0/3
100% Lines 12/12

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 1713x 3x 1x 1x 3x 2x   3x 3x 2x   3x 2x   1x    
<div [class]="'help-popup arrow-' + arrowPosition" *mobxAutorun>
  <div class="help-text">{{ text }}</div>
  <hr>
  <div class="stepper-controls">
    @if (store.helpStepIndex > 0) {
      <button type="button" (click)="previousClick.emit()" i18n>Previous</button>
    }
    <span>{{ store.helpStepIndex + 1 }} / {{ store.helpSteps }}</span>
    @if (store.helpStepIndex + 1 < store.helpSteps) {
      <button type="button" (click)="nextClick.emit()" i18n>Next</button>
    }
    @if (store.helpStepIndex + 1 === store.helpSteps) {
      <button type="button" (click)="doneClick.emit()" i18n>Done</button>
    }
  </div>
</div>