Awesome
mirador-annotation-tooltip-plugin
A Mirador 3 plugin to display annotation contents as a tooltip.
Live examples (demo)
Installation
git clone
this repositorynpm install
npm run bundle
This will generate a file bundle/dist/mirador.bundle.js
that combines Mirador 3 and this plugin, and it can be used as follows (see bundle/index.html
).
<div id="mirador"></div>
<script type="text/javascript" src="dist/mirador.bundle.js"></script>
<script type="text/javascript">
var miradorInstance = Mirador.viewer({
id: 'mirador',
windows: [{
manifestId: 'https://iiif.harvardartmuseums.org/manifests/object/299843',
}],
window: {
defaultSideBarPanel: 'annotations',
sideBarOpenByDefault: true,
}
}, [miradorAnnotationTooltipPlugins]);
</script>