Skip to main content

ASPxClientImageGallery.SetFullscreenViewerActiveItemIndex(index, preventAnimation) Method

Makes the specified item active within the fullscreen viewer on the client side.

Declaration

SetFullscreenViewerActiveItemIndex(
    index: number,
    preventAnimation: boolean
): void

Parameters

Name Type Description
index number

The index of the item to select.

preventAnimation boolean

true to prevent the animation effect; false to change images using animation.

Remarks

Use the SetFullscreenViewerActiveItemIndex method to make a specific item active by its index on the client side.

In order to get the active item index, use the ASPxClientImageGallery.GetFullscreenViewerActiveItemIndex method of the control.

See Also