UNPKG

flowbite-angular

Version:

<div align="center"> <h1>:construction: flowbite-angular (unreleased) :construction:</h1> <p> <a href="https://flowbite.com"> <img alt="Flowbite - Tailwind CSS components" width="350" src="https://flowbite.s3.amazonaws.com/github/logo-github

21 lines (20 loc) 719 B
import type { PipeTransform } from '@angular/core'; import type { SafeHtml } from '@angular/platform-browser'; import * as i0 from "@angular/core"; /** * Sanitize a string as trusted HTML. * * @see `DomSanitizer` */ export declare class SanitizeHtmlPipe implements PipeTransform { private _sanitizer; /** * Return the result of `bypassSecurityTrustHtml` function of DomSanitizer for the parameter. * * @param v The string to be transformed. * @returns The SafeHtml from the DomSanitizer. */ transform(v: string): SafeHtml; static ɵfac: i0.ɵɵFactoryDeclaration<SanitizeHtmlPipe, never>; static ɵpipe: i0.ɵɵPipeDeclaration<SanitizeHtmlPipe, "sanitizeHtml", true>; }