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

21 lines (20 loc) 1.23 kB
import { InjectionToken, ModuleWithProviders } from '@angular/core'; import { NgxLinkifyjsConfig } from './interfaces/ngx-linkifyjs.interface'; import * as i0 from "@angular/core"; import * as i1 from "./pipes/ngx-linkifyjs.pipe"; import * as i2 from "@angular/common"; export { Link } from './interfaces/ngx-linkifyjs.interface'; export { LinkType } from './enum/linktype.enum'; export { NgxLinkifyOptions } from './interfaces/ngx-linkifyjs.interface'; export { NgxLinkifyjsPipe } from './pipes/ngx-linkifyjs.pipe'; export { NgxLinkifyjsService } from './service/ngx-linkifyjs.service'; export declare const NgxLinkifyjsConfigToken: InjectionToken<NgxLinkifyjsConfig>; export declare const DEFAULT_CONFIG: NgxLinkifyjsConfig; export declare class NgxLinkifyjsModule { config: NgxLinkifyjsConfig; static forRoot(config?: NgxLinkifyjsConfig): ModuleWithProviders<NgxLinkifyjsModule>; constructor(config: NgxLinkifyjsConfig); static ɵfac: i0.ɵɵFactoryDeclaration<NgxLinkifyjsModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<NgxLinkifyjsModule, [typeof i1.NgxLinkifyjsPipe], [typeof i2.CommonModule], [typeof i1.NgxLinkifyjsPipe]>; static ɵinj: i0.ɵɵInjectorDeclaration<NgxLinkifyjsModule>; }