- Source
Classes
Namespaces
Members
(static) ImageFactory
dwv.image.Image factory. Defaults to local one.
- Source
(static) ViewFactory
dwv.image.View factory. Defaults to local one.
- Source
(static) getElement
Get a HTML element associated to a container div. Defaults to local one.
- Deprecated
- Yes
- Source
(static) logger
Main logger namespace. Defaults to the console logger.
- Source
(static) openRoiDialog
Open a dialogue to edit roi data. Defaults to undefined.
- Source
(static) prompt
Prompt the user for some text. Defaults to local one.
- Source
Methods
(static) getVersion() → {string}
Get the version of the library.
- Source
Returns:
The version of the library.
- Type:
- string
(static) i18n(key, _options) → {string|undefined}
Get the translated text.
Parameters:
Name | Type | Description |
---|---|---|
key | string | The key to the text entry. |
_options | object | The translation options such as plural, context... |
- Source
Returns:
The translated text.
- Type:
- string |
undefined