0.1.0 • Published 8 months ago

mirador-rotation v0.1.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
8 months ago

mirador-rotation

mirador-rotation is a Mirador 3 plugin that adds layer slideshow.

Demo on https://nakamura196.github.io/mirador-rotation-plugin/

Configuration

Several configuration options are available on windows that use mirador-rotation.

Configurationtypedefaultdescription
rotationEnabledbooleanfalseEnable the plugin to be shown

Example configuration:

const config = {
  id: 'demo',
  windows: [{
    rotationEnabled: true,
    manifestId: 'https://gist.githubusercontent.com/nakamura196/0c6a28d03b34d18165bb0d4940673b7e/raw/9cf148fbf8df6cee43debaafd9a47d8757e9380a/kaishi.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.