All files / src/app/components/pid-designer pid-designer.component.html

100% Statements 20/20
75% Branches 3/4
100% Functions 2/2
100% Lines 9/9

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    158x       2x 2x 156x 157x   2x 2x 2x   2x              
<div class="columns full-height">
  <div class="column is-one-third">
    <textarea [(ngModel)]="text" class="editor">{{text}}</textarea>
    <!-- There is a problem with textarea. Re-enable when problem is fixed -->
    <!-- <textarea *ngIf="text !== undefined" class="editor" rows="5" cols="30" pTextarea [(ngModel)]="text"></textarea> -->
    <div class="is-flex btn-container is-justify-content-center is-align-items-center">
      <button class="button is-rounded" (click)="updatePid()">Update PID</button>
    </div>
    @if (error !== undefined) {
      <p>{{error}}</p>
    }
  </div>
  <div class="column">
    <canvas #pidCanvas></canvas>
  </div>
</div>
 
 
<!-- <textarea class="editor" rows="5" cols="30" pTextarea [(ngModel)]="text"></textarea>
<button class="button is-rounded" (click)="updatePid()">Update PID</button>
 
<canvas #pidCanvas width="300" height="800"></canvas> -->