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.
C# annotationscbzcomicinfocomicscomics-readercross-platformcsharpepubepub-readerfreelinuxmangamedia-servermetadataopdsopds-feedpdfself-hostedubooquitywindows
import { Pipe, PipeTransform } from '@angular/core';
/**
* Returns the icon for the given state of fullscreen mode
*/
@Pipe({
name: 'fullscreenIcon',
standalone: true,
})
export class FullscreenIconPipe implements PipeTransform {
transform(isFullscreen: boolean): string {
return isFullscreen ? 'fa-compress-alt' : 'fa-expand-alt';
}
}