How to use the dwv.App function in dwv

To help you get started, we’ve selected a few dwv examples, based on popular ways it is used in public projects.

github ivmartel / dwv-react / src / DwvComponent.js View on Github external
componentDidMount() {
    // create app
    var app = new dwv.App();
    // initialise app
      "containerDivId": "dwv",
      "shapes": ["Ruler"],
      "isMobile": true
    // progress
    var self = this;
    app.addEventListener("load-progress", function (event) {
      self.setState({loadProgress: event.loaded});
    app.addEventListener("load-end", function (event) {
      // set data loaded flag
      self.setState({dataLoaded: true});
      // set dicom tags


DICOM Web Viewer.

Latest version published 9 months ago

Package Health Score

74 / 100
Full package analysis