ohif-viewer/extensions/dicom-html/src/index.js

23 lines
543 B
JavaScript
Raw Normal View History

import asyncComponent from './asyncComponent.js';
2019-06-16 20:15:34 +02:00
import OHIFDicomHtmlSopClassHandler from './OHIFDicomHtmlSopClassHandler.js';
const OHIFDicomHtmlViewport = asyncComponent(() =>
import(
/* webpackChunkName: "OHIFDicomHtmlViewport" */ './OHIFDicomHtmlViewport.js'
)
);
2019-04-16 18:00:06 +02:00
2019-06-17 22:23:31 +02:00
export default {
2019-06-16 20:15:34 +02:00
/**
2019-06-17 22:23:31 +02:00
* Only required property. Should be a unique value across all extensions.
2019-06-16 20:15:34 +02:00
*/
2019-06-17 22:23:31 +02:00
id: 'html',
2019-06-16 20:15:34 +02:00
getViewportModule() {
return OHIFDicomHtmlViewport;
2019-06-17 22:23:31 +02:00
},
getSopClassHandlerModule() {
2019-06-16 20:15:34 +02:00
return OHIFDicomHtmlSopClassHandler;
},
2019-06-17 22:23:31 +02:00
};