Before you start - checklist
What are you trying to achieve? Please describe.
I'd like my pdf annotations to open in a new tab.
Describe solutions you've tried
I read the docs and didn't see anything about this. If there isn't support I'd be open to see if I could submit a PR for the functionality.
https://github.com/mozilla/pdf.js/issues/7779
Seems like an easy fix would be to add a prop to Document called something like annotationLinkTarget and pass that value into the LinkService constructor.
Well that was interesting to play with. Not so simple as it had to update itself with prop update, but I think it turned out pretty well.
Wow thanks that was a fast turn around
@wojtekmaj When do you think this will be available in NPM?
I think early next week :)
@ssteuteville in case you missed it, it's out from September 3rd :)
We're already using it. :) Thanks again!