Skip to content

2SC1815J/mirador-annotation-tooltip-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mirador-annotation-tooltip-plugin

A Mirador 3 plugin to display annotation contents as a tooltip.

Screenshot

Live examples (demo)

Installation

  1. git clone this repository
  2. npm install
  3. 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>

About

A Mirador 3 plugin to display annotation contents as a tooltip

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published