Why is options.events
not available on e.g. linkify-string
#395
Labels
Milestone
options.events
not available on e.g. linkify-string
#395
In the docs it's mentioned that
options.events
is available onWhy is it not available on
linkify-string
for example. I think I have a valid use-case where this might be needed:I have plain text input (simple chat messages), of which all but one type of urls should be transformed according to the default settings. For one specific url however, I do want a
href
set, but I also want to set an event listener, so I can decide for that specfic URL what to do exactly on clicking it. More specific, for example, I want to actually callvue.$router.push()
when clicking thisa.href
element, so I can mimick the behaviour of a<router-link>
element.Is this at all possible with the current API?
The text was updated successfully, but these errors were encountered: