ngx-dicom-web-viewer
v0.0.4
Published
This library is a dicom web viewer coding by angular
Downloads
3
Readme
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