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

82.35% Statements 14/17
100% Branches 2/2
100% Functions 1/1
84.61% Lines 11/13

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 1945x 29890x       29890x 45x   45x 90x 29890x 14990x 14945x       45x 45x  
<p-floatLabel class="selector">
    <span *ngIf="isResponseSlowerThanRefresh" 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>
    <span *ngIf="!isResponseSlowerThanRefresh" 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>