1.0.4 • Published 7 years ago
@dbmdz/mirador-downloadmenu v1.0.4
Download menu
Adds a download menu to every window that contains links to the manifest and to the currently shown image in different sizes.
Installation
You can find production-ready build artifacts in the releases section.
Alternatively, you can use npm to install the artifacts:
$ npm install @dbmdz/mirador-downloadmenuIf you have a Java Web-Application managed with mvn, there is also a WebJar, which can be included as follows:
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>dbmdz__mirador-downloadmenu</artifactId>
<version>{set to current version}</version>
</dependency>Usage
Enable the plugin by including the CSS and the JavaScript (after loading Mirador):
<link rel="stylesheet" type="text/css" href="<url to the plugin>/downloadMenu.min.css" />
...
<script src="<url to the plugin>/downloadMenu.min.js"></script>