Class: Viewer

ImageDisplay.Viewer

new Viewer()

Manages the image viewer interface.
Source:

Methods

hide(index)

Hide the image viewer.
Parameters:
Name Type Description
index number The index of the image-display to hide.
Source:

init()

Initialize the object. Calls the init function of ImageDisplay.Image.
Source:

show(index)

Show the image viewer.
Parameters:
Name Type Description
index number The index of the image-display to show.
Source:

showImage(index)

Show the image with the given index as the current image.
Parameters:
Name Type Description
index number The index of the image to be displayed to the user.
Source: