mirador-rotation
v4.0.1
Published
mirador-rotation React component
Downloads
3
Readme
mirador-rotation
mirador-rotation
is a Mirador 3 plugin that enables the rotation of images at any angle.
🌐 Website
Visit the demo page to try it out.
📖 Configuration
Several configuration options are available on windows that use mirador-rotation.
| Configuration | type | default | description |
| ----------------- | ------- | ------- | ----------------------------- |
| rotationEnabled
| boolean | false | Enable the plugin to be shown |
Example configuration:
const config = {
id: "demo",
windows: [
{
rotationEnabled: true,
manifestId: "https://dl.ndl.go.jp/api/iiif/1286201/manifest.json",
},
],
};
📖 Installing mirador-rotation
mirador-rotation
requires an instance of Mirador 3. See the Mirador wiki for examples of embedding Mirador within an application. See the live demo's index.js for an example of importing the mirador-rotation
plugin and configuring the adapter.
📣 Contribute
Mirador's development, design, and maintenance is driven by community needs and ongoing feedback and discussion. Join us at our regularly scheduled community calls, on IIIF slack #mirador, or the mirador-tech and iiif-discuss mailing lists. To suggest features, report bugs, and clarify usage, please submit a GitHub issue.