0.0.4 • Published 5 years ago
ngx-dicom-web-viewer v0.0.4
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.jsonat"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] : stringimage or dicom url