function removeEventListeners(element) {
  element.removeEventListener(_events2.default.MOUSE_DOWN, mouseDownCallback);
  element.removeEventListener(_events2.default.MOUSE_DOWN_ACTIVATE, mouseDownActivateCallback);
  element.removeEventListener(_events2.default.MOUSE_DRAG, mouseDragCallback);
  element.removeEventListener(_events2.default.MOUSE_UP, mouseUpCallback);
  element.removeEventListener(_events2.default.MOUSE_MOVE, mouseMoveCallback);
  element.removeEventListener(_externalModules2.default.cornerstone.EVENTS.IMAGE_RENDERED, onImageRendered);
  element.removeEventListener(_events2.default.KEY_DOWN, _keysHeld.keyDownCallback);
  element.removeEventListener(_events2.default.KEY_UP, _keysHeld.keyUpCallback);
}
/**
* Removes event listeners from the element.
*
* @param {Object} element - The viewport element to remove event listeners from.
* @modifies {element}
*/
Removes event listeners from the element.
Removes event listeners from the element .
function removeEventListeners(element) {
  element.removeEventListener(_events2.default.MOUSE_DOWN, mouseDownCallback);
  element.removeEventListener(_events2.default.MOUSE_DOWN_ACTIVATE, mouseDownActivateCallback);
  element.removeEventListener(_events2.default.MOUSE_DRAG, mouseDragCallback);
  element.removeEventListener(_events2.default.MOUSE_UP, mouseUpCallback);
  element.removeEventListener(_events2.default.MOUSE_MOVE, mouseMoveCallback);
  element.removeEventListener(_externalModules2.default.cornerstone.EVENTS.IMAGE_RENDERED, onImageRendered);
  element.removeEventListener(_events2.default.KEY_DOWN, _keysHeld.keyDownCallback);
  element.removeEventListener(_events2.default.KEY_UP, _keysHeld.keyUpCallback);
}
function removeEventListeners ( element ) { element . removeEventListener ( _events2 . default . MOUSE_DOWN , mouseDownCallback ) ; element . removeEventListener ( _events2 . default . MOUSE_DOWN_ACTIVATE , mouseDownActivateCallback ) ; element . removeEventListener ( _events2 . default . MOUSE_DRAG , mouseDragCallback ) ; element . removeEventListener ( _events2 . default . MOUSE_UP , mouseUpCallback ) ; element . removeEventListener ( _events2 . default . MOUSE_MOVE , mouseMoveCallback ) ; element . removeEventListener ( _externalModules2 . default . cornerstone . EVENTS . IMAGE_RENDERED , onImageRendered ) ; element . removeEventListener ( _events2 . default . KEY_DOWN , _keysHeld . keyDownCallback ) ; element . removeEventListener ( _events2 . default . KEY_UP , _keysHeld . keyUpCallback ) ; }
Removes event listeners from the element.
Removes event listeners from the element .