This is very nice, but could you add a way to understand when the saving is finished in the next version of the viewer?
Something like returning a promise or triggering an event.
That would be handy. :)
Also, some unrelated stuff that would be nice to have:
- Use a CSS class for hiding elements instead of "display:none" on the HTML element. This would help A LOT, customizing the viewer to one's needs using CSS.
- I have the impression that after you add some annotations and you save them, the annotations' IsModified property is not updated to false. In one case I had to update it myself after save (which of course I could not be sure if when it had finished or if it succeeded or failed...).
- Add a way to make some annotations not-selectable by the user (I have managed to do this with some custom code that de-selects immediately after selection, but maybe you could make it a built-in feature).
- Add a way to hide some annotations from the right panel and from the vertical stripe that contains the annotations markers without hiding them on the page (I have also managed to do this, but I had to modify `notespanel.js` which is not ideal when you upgrade frequently). We use some custom watermarks and that's why we want that functionality.
I like your viewer! :)
Best Regards,
Kostas