save-throw-field.component.html 645 B

12345678910111213141516171819202122
  1. <div class="save-throw-field" (click)="openDetails()">
  2. <input
  3. class="save-throw-field__input"
  4. type="checkbox"
  5. [(ngModel)]="attribute.proficiency"
  6. (click)="updateAttribute(); $event.stopPropagation()"
  7. />
  8. <div class="save-throw-field__name">
  9. {{ "attributes." + attribute.name | translate }}
  10. </div>
  11. <div [class]="attribute.advantage" class="save-throw-field__value">
  12. <!-- TODO: Potential Advantage style -->
  13. <!-- @if (attribute.advantage !== "none") {
  14. <span>
  15. <icon [size]="'xs'" [type]="'UI'" [icon]="attribute.advantage!"></icon>
  16. </span>
  17. } -->
  18. {{ saveModifier }}
  19. </div>
  20. </div>