UNPKG

ngx-linkifyjs-v2

Version:

Angular wrapper for linkifyjs - library for finding links in plain text and converting them to HTML <a> tags via linkifyjs

25 lines (24 loc) 533 B
export interface Link { type: string; value: string; href: string; } export interface NgxLinkifyjsConfig { enableHash?: boolean; enableMention?: boolean; } export interface NgxLinkifyOptions { attributes?: any; className?: string; defaultProtocol?: string; events?: any; ignoreTags?: Array<any>; nl2br?: boolean; tagName?: string; target?: { url: string; }; validate?: boolean; format?(value: any, type: any): any; formatHref?(href: any, type: any): any; }