You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-7Lines changed: 14 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ For more advanced usage, take a look at the [Slim](https://github.com/herrmannla
33
33
34
34
The viewer can be embedded in any website, one only needs to
35
35
36
-
* Create an instance of `viewer.VolumeViewer`. The constructor requires an instance of `DICOMwebClient` for retrieving frames from the archive as well as the metadata for each DICOM image instance.
36
+
* Create an instance of [VolumeImageViewer](https://herrmannlab.github.io/dicom-microscopy-viewer/viewer.VolumeImageViewer.html). The constructor requires an instance of `DICOMwebClient` for retrieving frames from the archive as well as the metadata for each DICOM image as an instance of [VLWholeSlideMicroscopyImage](https://herrmannlab.github.io/dicom-microscopy-viewer/metadata.VLWholeSlideMicroscopyImage.html).
37
37
38
38
* Call the `render()` method, passing it the HTML element (or the name of the element), which shall contain the viewport.
// Render viewer instance in the "viewport" HTML element
74
-
viewer.render({container:'viewport'});
74
+
viewer.render({container:'viewport'});
75
75
});
76
76
```
77
77
@@ -106,24 +106,31 @@ Install the [dicom-microscopy-viewer](https://www.npmjs.com/package/dicom-micros
106
106
npm install dicom-microscopy-viewer
107
107
```
108
108
109
-
## Building & Testing
109
+
## Development & Testing
110
110
111
-
We use [webpack](https://webpack.js.org/)for bundling and [Jest](https://github.com/facebook/jest)for testing.
111
+
We use [Babel](https://babeljs.io/) to compile (transpile), [webpack](https://webpack.js.org/)to bundle, and [Jest](https://github.com/facebook/jest)to test JavaScript code.
112
112
113
-
Build:
113
+
Get the source code by cloning the git repository:
0 commit comments