OverlayData

DICOM Header overlay info.

Constructor

new OverlayData(app, dataId, configs)

Parameters:
NameTypeDescription
appApp

The associated application.

dataIdstring

The associated data id.

configsobject

The overlay config.

Classes

OverlayData

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

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.