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

100% Statements 19/19
100% Branches 2/2
100% Functions 2/2
100% Lines 8/8

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    130x       2x 2x 129x 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>
        <p *ngIf="error !== undefined">{{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> -->