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 :
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.
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.