UNPKG

@lxlib/theme

Version:

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.1.

9 lines (8 loc) 382 B
import { PipeTransform } from '@angular/core'; import { DomSanitizer, SafeHtml } from '@angular/platform-browser'; export declare type YNMode = 'full' | 'icon' | 'text'; export declare class YNPipe implements PipeTransform { private dom; constructor(dom: DomSanitizer); transform(value: boolean, yes: string, no: string, mode: YNMode, isSafeHtml?: boolean): SafeHtml; }