AnthonyNahas / ngx-linkifyjs

Angular V8 wrapper for linkifyjs - library for finding links in plain text and converting them to HTML <a> tags via linkifyjs
https://anthonynahas.github.io/ngx-linkifyjs
MIT License
41 stars 20 forks source link

Stop click event propagation doesn't work #139

Open sergey-karlo opened 4 years ago

sergey-karlo commented 4 years ago

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] question

I've tried to use event NgxLinkifyOptions.events.click, but it doesn't work. Could you please provide any example?

I need to stop stop click event propagation but I don't know how to do it.

Thanks!

MrGrabazu commented 2 years ago

I up this subject, I don't understand why all options needs to be in string format. I case we need to pass function signature or more advenced code, it limit it to basic value type so events option is pretty useless. @AnthonyNahas can you provide a working example of how you can handle click event (with a simple console.log in the event, because I can't successfully do it actually) ? Thank you !