ng-whatsapp-format
Version:
Angular pipe to format WhatsApp-style text (bold, italic, strikethrough, code, etc.)
11 lines (10 loc) • 429 B
TypeScript
import { PipeTransform } from '@angular/core';
import * as i0 from "@angular/core";
export declare class NgWhatsappFormatPipe implements PipeTransform {
private styleElement;
constructor();
private injectStyles;
transform(value: string): string;
static ɵfac: i0.ɵɵFactoryDeclaration<NgWhatsappFormatPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<NgWhatsappFormatPipe, "ngWhatsappFormat", true>;
}