Skip to content
Chris Hafey edited this page May 6, 2014 · 2 revisions

The enable api call is used to notify Cornerstone about a DOM element that is intended to be used to display images. Cornerstone responds by setting up internal data structures to support future API calls. After an element is enabled, the next API call for this element is to displayImage().

function enable(element);

Parameters:

  • element - the DOM element to enable

Returns: Nothing