Occurs before an item HTML elements are re-deleted from the DOM.
Object.defineProperty(ImageViewer.prototype,'autoItemElementsRemoved',
get: function(),
set: function(value)
)
function autoItemElementsRemoved.add(function(sender, e));
function autoItemElementsRemoved.remove(function(sender, e));
autoItemElementsRemoved: void;
This event is occurs only if the viewer is using Elements Mode and if the value of ImageViewerElementsModeCreateOptions.AutoRemoveItemElements was true when this control is created.
AutoItemElementsAdded and AutoItemElementsRemoved can be used to track when an item goes out of view and its elements are deleted from the DOM or when the item re-enters the view and its elements are re-created. AutoItemElementsAdded occurs after the item enters the view and its elements are created and AutoItemElementsRemoved occurs before the item is deleted, therefore, all the item's elements are still in the DOM and can be accessed when this event occurs.
Refer to Image Viewer Elements Mode for more information.
Parameter | Type | Description |
---|---|---|
sender | var | The source of the event. |
e | ImageViewerRenderEventArgs | The event data. |
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET