Files
Testing/emaildesigner/node_modules/ngx-sendune-editor/lib/safeHTML.pipe.d.ts
sean 343b4a3f3f
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-19 18:32:17 -05:00

18 lines
842 B
TypeScript

import { PipeTransform } from '@angular/core';
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
import * as i0 from "@angular/core";
/**
* Bypass the angular DomSantiziser and trust the given value to be safe HTML.
* The reason this pipe is needed is because there is no ability to trust a custom whitelist of HTML tags,
* attributes, and values with a DOM sanitizer, without bypassing the whole sanitizer.
* https://github.com/angular/angular/issues/19645
* https://github.com/angular/angular/issues/36650
*/
export declare class SafeHtmlPipe implements PipeTransform {
private sanitized;
constructor(sanitized: DomSanitizer);
transform(value: any): SafeHtml;
static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safeHtml", false>;
}