dwv

Classes

App

Namespaces

ctrl
dicom
env
gui
image
io
math
test
tool
utils

Members

(static) ImageFactory

dwv.image.Image factory. Defaults to local one.

(static) ViewFactory

dwv.image.View factory. Defaults to local one.

(static) getElement

Get a HTML element associated to a container div. Defaults to local one.

Deprecated
  • Yes

(static) logger

Main logger namespace. Defaults to the console logger.

(static) openRoiDialog

Open a dialogue to edit roi data. Defaults to undefined.

(static) prompt

Prompt the user for some text. Defaults to local one.

Methods

(static) getVersion() → {string}

Get the version of the library.

Returns:

The version of the library.

Type: 
string

(static) i18n(key, _options) → {string|undefined}

Get the translated text.

Parameters:
NameTypeDescription
keystring

The key to the text entry.

_optionsobject

The translation options such as plural, context...

Returns:

The translated text.

Type: 
string | undefined