We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5038f0 commit 86064e2Copy full SHA for 86064e2
1 file changed
src/app/item-page/mirador-viewer/mirador-viewer.component.ts
@@ -36,6 +36,11 @@ export class MiradorViewerComponent implements OnInit {
36
*/
37
@Input() canvasId: string;
38
39
+ /**
40
+ * Is used as canvas index of the element to show.
41
+ */
42
+ @Input() canvasIndex: string;
43
+
44
/**
45
* Hides embedded viewer in dev mode.
46
@@ -95,6 +100,9 @@ export class MiradorViewerComponent implements OnInit {
95
100
if (this.canvasId) {
96
101
viewerPath += `&canvasId=${this.canvasId}`;
97
102
}
103
+ if (this.canvasIndex) {
104
+ viewerPath += `&canvasIndex=${this.canvasIndex}`;
105
+ }
98
106
if (environment.mirador.enableDownloadPlugin) {
99
107
viewerPath += '&enableDownloadPlugin=true';
108
0 commit comments