← all examples

Annotations

Read-only annotations imported from the IIIF manifest.

Code example
<!-- Viewer and panel hosts in your markup -->
<div id="tify"></div>
<aside id="panel"></aside>
import Tify from 'tify';
import { annotoriousPlugin } from '@projektemacher/tify-plugin-annotorious';

const tify = new Tify({ container: '#tify', manifestUrl });
const plugin = await annotoriousPlugin(tify, {
  panelEl: document.querySelector('#panel'),
});