component:mohistory.threeImageTiles source

This component can render any of these mhs:displayClasses recent-posts, locations-row, three-up-image-description-link, related-content, press-kit, exhibits-row, three-up-images-and-titles (aka resource-block) or exhibit-sponsors The vm.block object contains configuration information for each mhs:displayClass.

Methods

forwardByOne

Advance the visible tiles by one. This only applies to interactive blocks and will allow for rotation.

isImageVisible (idx)

Helper function for interactive blocks. Returns a boolean that is used to hide/show a tile.

Parameters:
NameTypeDescription
idx

The index of the image to check

Returns:

True if input is the same as the currentImageIdx, false otherwise

onInit

Initiated when component is created. Runs code necessary for block configuration.