src/store/modules/segmentationModule/getElement.js
/**
 * Returns the cornerstone enabled element given either the element or its enabledElement UUID.
 *
 * @param  {string|HTMLElement} elementOrEnabledElementUID  The enabledElement
 *                                                          or its UUID.
 * @returns {HTMLElement}
 */
Returns the cornerstone enabled element given either the element or its enabledElement UUID.
@param  {string|HTMLElement} elementOrEnabledElementUID  The enabledElement
or its UUID.
Returns the cornerstone enabled element given either the element or its enabledElement UUID . @param { string|HTMLElement } elementOrEnabledElementUID The enabledElement or its UUID .
function _getElement(elementOrEnabledElementUID) {
  if (elementOrEnabledElementUID instanceof HTMLElement) {
    return elementOrEnabledElementUID;
  }
  return storeGetters.enabledElementByUID(elementOrEnabledElementUID);
}
function _getElement ( elementOrEnabledElementUID ) { if ( elementOrEnabledElementUID instanceof HTMLElement ) { return elementOrEnabledElementUID ; } return storeGetters . enabledElementByUID ( elementOrEnabledElementUID ) ; }
Returns the cornerstone enabled element given either the element or its enabledElement UUID.
Returns the cornerstone enabled element given either the element or its enabledElement UUID .