Skip to content
chafey edited this page Mar 23, 2014 · 2 revisions

The getElementData api call is used to get tool specific data for an enabled element

function _getElementData_(element, dataType);

Parameters:

  • element - the DOM element that has been enabled (DOM node)
  • dataType - a unique string identifying this data type. We recommend using a GUID generator to avoid conflicts with other tools that might happen to use the same name (String)

Returns: a Javascript object