@harvard-lts/mirador-url-sync-plugin
v0.1.10
Published
Mirador plugin for Harvard mps-viewer which synchronizes the URL with the canvas ID
Downloads
57
Keywords
Readme
mirador-url-sync-plugin
Mirador plugin for Harvard mps-viewer which synchronizes the URL with the canvas ID
Requirements
Setup
- Run
npm ito install dependencies - Use one of the NPM scripts to perform the actions described below.
NPM scripts
The following are some useful scripts can be ran using npm run <script>. A full list can be seen in package.json
| Script | Description |
| ------- | -------------------------------------------------------------------------------------------------------------------------- |
| clean | Removes the dist directories |
| build | Builds the source files into the ./dist directory |
| serve | Runs a local web server where the plugin can be viewed in a vanilla Mirador instance (helpful for testing and development) |
| test | Runs the automated test suites
Installing in Mirador
The mirador-template-plugin requires an instance of Mirador 3. Visit the Mirador wiki to learn how to install an existing plugin and for additional information about plugins.
Package you will need to install:
npm i @harvard-lts/mirador-url-sync-plugin
## 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](http://bit.ly/iiif-slack), or the [mirador-tech](https://groups.google.com/forum/#!forum/mirador-tech) and [iiif-discuss](https://groups.google.com/forum/#!forum/iiif-discuss) mailing lists. To suggest features, report bugs, and clarify usage, please submit a GitHub issue.
[build-badge]: https://img.shields.io/travis/projectmirador/mirador-template-plugin/master.png?style=flat-square
[build]: https://travis-ci.org/projectmirador/mirador-url-sync-plugin
[npm-badge]: https://img.shields.io/npm/v/mirador-url-sync-plugin.png?style=flat-square
[npm]: https://www.npmjs.org/package/mirador-url-sync-plugin