The two images to be shown in the comparison.
Lets you set additional options for the image slider.
Container for the slider control (.jx-control
).
The draggable slider element (.jx-controller
).
Container element with controller and the left and right arrow.
Element for the left slider arrow (.jx-arrow
).
Container element with the left image (.jx-image
).
Current configuration of this slider.
Element for the right slider arrow (.jx-arrow
).
Container element with the right image (.jx-image
).
Container element for the image slider component (.jx-slider
).
Current position of the image slider, eg. 50.00%
.
Wrapper element with the image slider.
Display the given label text for the left or right image. Adds to the exiting label(s).
The image for which to display the label. Should be either the leftImage
or rightImage
property of this image slider instance.
Label text to display.
Display the given label text for the left or right image. Adds to the existing credits
The image for which to display the credits. Should be either the leftImage
or rightImage
property of this image slider instance.
Label text to display.
Finds the current position of this slider.
The current position of this slider, eg. 50.00%
.
Moves this slider to the specified position, optionally animating the move.
A number in the range [0...100]
. May also be a string in the format 50.00%
or 50
.
Where you want to set the handle, relative to the left side of the slider.
true
to animate the transition, false
to move this slider immediately.
Generated using TypeDoc
Represents an instantiated image slider.