DWVv0.37.0

AppOptions

Source: application.js:142

Application options.


Constructor

new AppOptions( dataViewConfigs?: Record.<string, Array.<ViewConfig>>, ): AppOptions

Parameters

  • dataViewConfigs (Record.<string, Array.<ViewConfig>>, optional) — Optional dataId indexed object containing the data view configurations.

Instance Fields

dataViewConfigs: Record.<string, Array.<ViewConfig>> | undefined

DataId indexed object containing the data view configurations.

tools: Record.<string, ToolConfig> | undefined

Tool name indexed object containing individual tool configurations.

binders: Array.<string> | undefined

Optional array of layerGroup binder names.

viewOnFirstLoadItem: boolean | undefined

Optional boolean flag to trigger the first data render after the first loaded data or not. Defaults to true.

defaultCharacterSet: string | undefined

Optional default chraracterset string used for DICOM parsing if not passed in DICOM file.

Valid values: https://developer.mozilla.org/en-US/docs/Web/API/Encoding_API/Encodings.

overlayConfig: object | undefined

Optional overlay layer config.

rootDocument: DocumentFragment

DOM root document.