Lightbox Gallery

(part of package 'Servoy Extra Components') Extends designtime/SolutionModel: JSWebComponent Extends runtime: RuntimeWebComponent

This is a reference page; many components have detailed usage guides here.

Properties

albumLabel

Type: string Default Value: "image %1 of %2"


buttonStyleClass

Type: styleclass


buttonText

Type: tagstring


enabled

Type: boolean Default Value: "false"


fadeDuration

Type: int Default Value: 600


fitImagesInViewport

Type: boolean Default Value: true


galleryVisible

Type: boolean Default Value: true


hoverButtonIcon

Type: string Default Value: "fa fa-trash fa-lg"


imageBatchSize

The default / minimum value is 5 (the component will not render less than 5 images); it will load more when scrolling or using next in gallery mode.

Type: int Default Value: 5


imageFadeDuration

Type: int Default Value: 600


imagesFoundset

Component needs dataproviders from the foundset for the following: imageId, image, caption and thumbnail.

Type: foundset


maxImageHeight

Type: int


maxImageWidth

Type: int


positionFromTop

Type: int Default Value: 50


resizeDuration

Type: int Default Value: 700


responsiveHeight

This will be the height of the component when used inside a responsive form; it will affect only responsive form usage.

Type: int Default Value: 300


showCaptionInGallery

Type: boolean Default Value: false


showImageNumberLabel

Type: boolean Default Value: true


wrapAround

Type: boolean Default Value: false


Events

onHoverButtonClicked

Parameters:

event JSEvent imageId string


API

refresh


showLightbox

Parameters:

index int (optional)



Last updated