Skip to content

Commit

Permalink
feat(package): added NgxLinkifyOptions interface
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyNahas committed Jan 10, 2019
1 parent 29f0437 commit 53ea407
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/module/interfaces/ngx-linkifyjs.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,17 @@ 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,
}

0 comments on commit 53ea407

Please sign in to comment.