Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:16:07

0001 <mat-menu class="mat-menu" #menu>
0002   <button
0003     mat-menu-item
0004     (click)="
0005       $event.stopPropagation();
0006       clippingCheckbox._inputElement.nativeElement.click()
0007     "
0008   >
0009     <mat-checkbox
0010       #clippingCheckbox
0011       [checked]="clippingEnabled"
0012       (click)="$event.stopPropagation()"
0013       (change)="toggleClipping($event)"
0014     >
0015       Clipping
0016     </mat-checkbox>
0017   </button>
0018   <button
0019     class="slider-btn"
0020     mat-menu-item
0021     (focus)="startingAngleSlider.focus()"
0022   >
0023     <mat-slider min="0" max="360" step="1" thumbLabel>
0024       <input
0025         #startingAngleSlider
0026         matSliderThumb
0027         [value]="startClippingAngle"
0028         (valueChange)="changeStartClippingAngle($event)"
0029       />
0030     </mat-slider>
0031     Start Angle
0032   </button>
0033   <button class="slider-btn" mat-menu-item (focus)="openingAngleSlider.focus()">
0034     <mat-slider min="0" max="360" step="1" thumbLabel>
0035       <input
0036         #openingAngleSlider
0037         matSliderThumb
0038         [value]="openingClippingAngle"
0039         (valueChange)="changeOpeningClippingAngle($event)"
0040       />
0041     </mat-slider>
0042     Opening Angle
0043   </button>
0044 </mat-menu>
0045 
0046 <app-custom-menu-toggle
0047   [matMenuTriggerFor]="menu"
0048   tooltip="Geometry clipping"
0049   icon="incomplete_circle"
0050   [active]="clippingEnabled"
0051 >
0052 </app-custom-menu-toggle>