0.0.4 • Published 3 years ago

ngx-dicom-web-viewer v0.0.4

Weekly downloads
41
License
-
Repository
-
Last release
3 years ago

NgxDicomWebViewer

This library is a dicom web viewer coding by angular

Before import DWV Module.

  • run npm i ngx-dicom-web-viewer
  • run npm i ng-zorro-antd & npm i dwv
  • add dwv-decoders & ng-zorro-antd's assets in your angular.json at

            "assets": [
            {
              "glob": "**/*",
              "input": "node_modules/dwv/decoders",
              "output": "/assets/dwv/decoders"
            },
            {
              "glob": "**/*",
              "input": "node_modules/@ant-design/  icons-angular/src/inline-svg/",
              "output": "/assets/"
            }
          ]

Usage

copy the dwv module to your angular project

    @NgModule({
    declarations: [],
    imports: [DwvModule],
    providers: [],
    bootstrap: [],
    })

in HTML

    <app-dwv [data]="data"></app-dwv>

API

属性

  • [data] : string image or dicom url
0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago