<ods-attachment [documentName]="file.name" [description]="file.size | fileSizePlain" [fileType]="getIconType(file.contentType)" (click)="downloadFile()" [attr.aria-label]="'Anhang: Dateiname: ' + file.name" [isLoading]="isLoading" > <div close class="flex-shrink"> <button *ngIf="deletable" class="flex size-10 items-center justify-center rounded-md hover:border hover:border-ozggray-600 hover:bg-ozggray-100" (click)="deleteFile()" title="Anhang löschen" aria-label="Anhang löschen Button" > <ods-close-icon></ods-close-icon> </button> </div> </ods-attachment>