All files / src/app/components/refresh-rate-selector refresh-rate-selector.component.html

84.21% Statements 16/19
66.66% Branches 4/6
100% Functions 1/1
80% Lines 12/15

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 2345x 28434x           28434x 45x 45x   45x   90x 28434x 14262x 14217x       45x 45x  
<p-floatLabel class="selector">
  @if (isResponseSlowerThanRefresh) {
    <span class="refresh-too-fast">
      <i class="pi pi-exclamation-circle"
      title="Can't keep up!&#013;Try using a slower refresh rate or less signals."></i>
    </span>
  }
  @if (!isResponseSlowerThanRefresh) {
    <span class="refresh-good">
      <i class="pi pi-check-circle"
      title="Can keep up with refresh rate."></i>
    </span>
  }
  <p-select
    [options]="refreshTimes"
    [(ngModel)]="refreshTime"
    [disabled]="isDisabled"
    placeholder="Refresh time"
    optionLabel="label"
    inputId="refreshTime" />
  <label for="refreshTime">Refresh time</label>
</p-floatLabel>