Last change
on this file since 37037 was 37037, checked in by davidb, 17 months ago |
Directory for developer code that needs to be processed to generate the JS/CSS etc files used to support the Mirador viewer in the Intermuse interface
|
File size:
442 bytes
|
Line | |
---|
1 | import Mirador from 'mirador/dist/es/src/index';
|
---|
2 | import { miradorImageToolsPlugin } from 'mirador-image-tools';
|
---|
3 |
|
---|
4 | const config = {
|
---|
5 | id: 'demo',
|
---|
6 | windows: [{
|
---|
7 | imageToolsEnabled: true,
|
---|
8 | imageToolsOpen: true,
|
---|
9 | manifestId: 'https://purl.stanford.edu/sn904cj3429/iiif/manifest',
|
---|
10 | }],
|
---|
11 | theme: {
|
---|
12 | palette: {
|
---|
13 | primary: {
|
---|
14 | main: '#1967d2',
|
---|
15 | },
|
---|
16 | },
|
---|
17 | },
|
---|
18 | };
|
---|
19 |
|
---|
20 | Mirador.viewer(config, [
|
---|
21 | ...miradorImageToolsPlugin,
|
---|
22 | ]);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.