Skip to content

MSU-Libraries/IIIFButtonMiradorPlugin

Repository files navigation

IIIFButtonMiradorPlugin

Description

This Mirador 3 plugin add a button in the top bar. The image is by default the IIIF logo, which when clicked open the manifest in a new tab.

See a live version at https://d.lib.msu.edu/maps

Screenshots :

Screenshot.jpg Screenshot-hover.jpg

Setup

Currently, this plugin is NOT available via npm.

Download the IIIFButtonMiradorPlugin.js file and put it in your project; then import it before creating your mirador viewer instance. See example in mirador-example.jsx.

Configuration

The following items are customizable with a simple JS dict :

  • classname
  • aria_label
  • img
  • img_alt

To customize your plugin, add a dict with "IIIFButtonPluginConfig" key in your main mirador config. You can find an example in mirador-example.jsx.

About

Mirador plugin that adds a link to the manifest

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published