Skip to content

Commit

Permalink
Merge pull request #116 from bodleian/qa
Browse files Browse the repository at this point in the history
Release 2024-06-18
  • Loading branch information
BeebBenjamin authored Jun 18, 2024
2 parents 810e0aa + d4c3e34 commit 39f5d1b
Show file tree
Hide file tree
Showing 6 changed files with 186 additions and 119 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,23 @@ following way, where we add in type `lightingMapExtension` and `mapType`:
}
```

# IIIF Choices and Mirador Viewer Config
This Mirador plug-in makes use of IIIF Choices and is developed for single page view only; because of this we take control of Mirador via the plug-in and set
the config for the default viewing experience whenever a Choices body type is detected at canvas level.

You are still free to manually change to book view in the Mirador menu, however, the plug-in won't work as intended.

The view config we inject is identical to the exerpt below:

```json
views: [
{ key: 'single', behaviors: ['individuals', 'paged'] },
{ key: 'book', behaviors: ['individuals', 'paged'] },
{ key: 'scroll', behaviors: ['continuous'] },
{ key: 'gallery' },
]
```

# Installation and build
Make sure you have node.js and npm installed. It might also be good to install nvm to allow you to switch versions of
node.js more easily.
Expand Down
128 changes: 64 additions & 64 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 39f5d1b

Please sign in to comment.