InfoData

DICOM Header info data.

Constructor

new InfoData(app, dataId, configs)

Parameters:
NameTypeDescription
appApp

The associated application.

dataIdstring

The associated data id.

configsObject.<string, Array.<InfoDataItem>>

The info data config.

Classes

InfoData

Members

onSliceChange

Handle a changed slice event.

Methods

addAppListeners()

Toggle info listeners.

addEventListener(type, callback)

Add an event listener to this class.

Parameters:
NameTypeDescription
typestring

The event type.

callbackobject

The method associated with the provided event type, will be called with the fired event.

addItemMeta(data)

Handle a new loaded item event.

Parameters:
NameTypeDescription
dataObject.<string, DataElement>

The item meta data.

isListening() → {boolean}

Is this class listening to app events.

Returns:

True is listening to app events.

Type: 
boolean

removeAppListeners()

Toggle info listeners.

removeEventListener(type, callback)

Remove an event listener from this class.

Parameters:
NameTypeDescription
typestring

The event type.

callbackobject

The method associated with the provided event type.

reset()

Reset the data.

Events

valuechange

Value change event.

Type:
  • object
Properties
NameTypeDescription
typestring

The event type.

dataArray.<InfoDataItem>

The value of the info data.