Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

333 B
Raw Blame
<ng-container *transloco="let t; read:'spoiler'">
  <div (click)="toggle()" [attr.aria-expanded]="!isCollapsed" class="btn spoiler" tabindex="0">
    <span *ngIf="isCollapsed; else show">{{t('click-to-show')}}</span>
    <ng-template #show>
      <div [innerHTML]="html | safeHtml"></div>
    </ng-template>
  </div>
</ng-container>