Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render linking annotations as hyperlinks #107

Open
3 tasks
tomcrane opened this issue Dec 17, 2021 · 0 comments
Open
3 tasks

Render linking annotations as hyperlinks #107

tomcrane opened this issue Dec 17, 2021 · 0 comments

Comments

@tomcrane
Copy link
Contributor

tomcrane commented Dec 17, 2021

https://iiif-canvas-panel.netlify.app/docs/examples/rendering-links

As with #70, the implementation is dependent on #94 - the list below might change. For example:

<!-- prevent default follow behaviour -->
<canvas-panel id="cp" follow-annotations="false" />

<!-- allow cp default behaviour in anno rendering, but at least provide some styles -->
<canvas-panel id="cp"
    highlight-css-class="anno-hilite"
    link-css-class="anno-link"    
/>

^^ That might not be how we do this, see #94

  • Create and render a DisplayAnnotation that wraps Default rendering of annotations with linking motivation and renders a hyperlink
  • DisplayAnnotations supports options with body-processing callback (also implies Body class)
  • Provide API that allows handling of existing annotations, so the developer can control when and how they are displayed on the canvas surface.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants