Leadtools.Controls Namespace > InteractiveService Object : OnSizeChanged Method |
function Leadtools.Controls.InteractiveService.onSizeChanged()
In HTML and JavaScript, there is no standard way of knowing when the size of an element is changed. As a result, you must manually call this method if the size of EventsSource or EventsTarget is changed.
The ImageViewer will automatically call OnSizeChanged on its instance of InteractiveService when OnSizeChanged is called.