Description
this library is a Dicom viewer coding by Angular ,it's a angular module which you can import it in your angular project application.
online Address
Module assets address
in NGSS git repository
Preparations
before import DWV Module.
-
install
ng-zorro-antd&dwv -
copy styles files from assets folder
-
add
theme.lessandindex.scssin yourangular.json -
add dwv-decoders asset 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: [],
})
API
属性
[data] : stringimage or dicom url(onSaveDrawings)exposure the drawings data