Skip to content

Commit

Permalink
Add an elastic mode example
Browse files Browse the repository at this point in the history
  • Loading branch information
camillevilla committed Nov 30, 2020
1 parent 2db642d commit aa69ac6
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,22 @@ import Mirador from 'mirador/dist/es/src/index';
import examplePlugin from './plugins/example_plugin';

const config = {
id: 'mirador-viewer',
windows: [
{
manifestId: 'https://purl.stanford.edu/fr426cg9537/iiif/manifest',
id: 'mirador-viewer',
windows: [{
manifestId: 'https://purl.stanford.edu/fr426cg9537/iiif/manifest',
},
{
manifestId: 'https://purl.stanford.edu/qg074bz5077/iiif/manifest',
},
{
manifestId: 'https://purl.stanford.edu/wj335sy2632/iiif/manifest',
}
],
workspace: {
type: 'elastic',
}
],
};

const plugins = [];

Mirador.viewer(config, plugins);
Mirador.viewer(config, plugins);

0 comments on commit aa69ac6

Please sign in to comment.