
<div class="model" [ngClass]="[state]">
  <div class="connect">
    <div class="off">
      <ng-container *ngIf="label?.off">
        <div class="label">{{label?.off}}</div>
      </ng-container>
    </div>
    <div class="on">
      <ng-container *ngIf="label?.on">
        <div class="label">{{label?.on}}</div>
      </ng-container>
    </div>
  </div>
  <div class="handle" #handle></div>
</div>