init
JavaScript API reference for Interactive Image Viewer.
init()
Starts the initialization of the Interactive Image Viewer. By this time the container DOM element must be created so that the viewer code can find it by its ID.
If the container element is not a part of the web page layout yet – for example, it may be hidden using display:none
style assigned to it – the viewer suspends its initialization process. It does so until the moment when the web page brings the container element back to the layout. When this action happens, the viewer load automatically resumes.
Call this method only once during viewer life cycle; subsequent calls are ignored.
Parameters
None.
Returns:anchor-section-1d3cf85bc7cc4dfe9670e038d02b9101:
{Object}
A reference to the viewer instance.
Example
<instance>.init()
b7426f53-aad9-4c00-83fc-664f30f681e8