Skip to content
Snippets Groups Projects
Commit 1cb3e053 authored by Jack Reed's avatar Jack Reed
Browse files

sets default thumbposition to off fixes #2346

parent b5c4d221
No related branches found
No related tags found
No related merge requests found
...@@ -15,10 +15,10 @@ ...@@ -15,10 +15,10 @@
windows: [{ windows: [{
loadedManifest: 'https://iiif.harvardartmuseums.org/manifests/object/299843', loadedManifest: 'https://iiif.harvardartmuseums.org/manifests/object/299843',
canvasIndex: 2, canvasIndex: 2,
thumbnailNavigationPosition: 'far-bottom',
}, },
{ {
loadedManifest: 'https://iiif.bodleian.ox.ac.uk/iiif/manifest/e32a277e-91e2-4a6d-8ba6-cc4bad230410.json', loadedManifest: 'https://iiif.bodleian.ox.ac.uk/iiif/manifest/e32a277e-91e2-4a6d-8ba6-cc4bad230410.json',
thumbnailNavigationPosition: 'off',
}], }],
manifests: { manifests: {
"https://media.nga.gov/public/manifests/nga_highlights.json": { provider: "National Gallery of Art"}, "https://media.nga.gov/public/manifests/nga_highlights.json": { provider: "National Gallery of Art"},
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
windows: [{ windows: [{
loadedManifest: 'https://iiif.harvardartmuseums.org/manifests/object/299843', loadedManifest: 'https://iiif.harvardartmuseums.org/manifests/object/299843',
canvasIndex: 2, canvasIndex: 2,
thumbnailNavigationPosition: 'far-bottom',
}], }],
}; };
......
...@@ -59,10 +59,10 @@ describe('MiradorViewer', () => { ...@@ -59,10 +59,10 @@ describe('MiradorViewer', () => {
{ {
canvasIndex: 2, canvasIndex: 2,
loadedManifest: 'https://iiif.harvardartmuseums.org/manifests/object/299843', loadedManifest: 'https://iiif.harvardartmuseums.org/manifests/object/299843',
thumbnailNavigationPosition: 'far-bottom',
}, },
{ {
loadedManifest: 'https://iiif.harvardartmuseums.org/manifests/object/299843', loadedManifest: 'https://iiif.harvardartmuseums.org/manifests/object/299843',
thumbnailNavigationPosition: 'off',
view: 'book', view: 'book',
}, },
], ],
......
...@@ -137,7 +137,7 @@ export default { ...@@ -137,7 +137,7 @@ export default {
}, },
windows: [], // Array of windows to be open when mirador initializes (each object should at least provide a loadedManifest key with the value of the IIIF presentation manifest to load) windows: [], // Array of windows to be open when mirador initializes (each object should at least provide a loadedManifest key with the value of the IIIF presentation manifest to load)
thumbnailNavigation: { thumbnailNavigation: {
defaultPosition: 'far-bottom', // Which position for the thumbnail navigation to be be displayed. Other possible values are "off" or "far-right" defaultPosition: 'off', // Which position for the thumbnail navigation to be be displayed. Other possible values are "far-bottom" or "far-right"
height: 150, // height of entire ThumbnailNavigation area when position is "far-bottom" height: 150, // height of entire ThumbnailNavigation area when position is "far-bottom"
width: 100, // width of a single thumb in ThumbnailNavigation area when position is "far-right" width: 100, // width of a single thumb in ThumbnailNavigation area when position is "far-right"
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment