Leadtools.Controls Namespace > ImageViewer Object : ElementsUpdated Event |
add_elementsUpdated(function(sender, e)) elementsUpdated.add(function(sender, e)) remove_elementsUpdated(function(sender, e)) elementsUpdated.remove(function(sender, e))
This event also contains the ImageViewerElementsUpdatedEventArgs.IsTransitionsEnabled property that can be used to detect when the image viewer is performing a CSS transition. For example, the document viewer uses this event to stop custom painting of the annotations while a CSS transition is in effect.
Refer to Image Viewer Elements Mode for more information.
Parameter | Type | Description |
---|---|---|
sender | 'var' | The source of the event. |
e | ImageViewerElementsUpdatedEventArgs | The event data. |