code: function getToolOptions(toolType, element) {
    if (!elementToolOptions[toolType]) {
      return {};
    }
  
    const toolOptions = elementToolOptions[toolType];
    const optionsObject = toolOptions.find(
      toolOptionObject => toolOptionObject.element === element
    );
  
    if (!optionsObject) {
      return {};
    }
  
    return optionsObject.options;
  }
docs: Retrieve the options object associated with a particular toolType and element
  @export
  @public
  @method
  @name getToolOptions
  
  @param {string} toolType Tool type identifier of the target options object
  @param {HTMLElement} element Element of the target options object
  
  @returns {Object} Target options object (empty if not yet set)