Skip to content

CornerstoneNewImage Event

Chris Hafey edited this page May 6, 2014 · 1 revision

The CornerstoneNewImage event is emitted every time a new image is displayed on an enabled element. Note that this event is always followed by a CornerstoneImageRendered event.

Event Properties:

  • frameRate - the frames per second based on the time since the last new image was displayed. This is intended to be used to indicate the framerate to the user when playing cine clips
  • viewport - the current viewport properties for this image
  • element - the DOM element that is enabled for this image
  • image - the image object for this image
  • enabledElement - an internal data structure that should not be used