Skip to content

Events

you can listen to all kind of events, to extend the functionality of the image compare slider. List of available events and when they are triggered

namecalled / triggered ...
initafter initialization
dragon interaction (drag, mousemove)
updateon every handle position change
beforeshownif the before image is shown
aftershownif the after image is shown
interactionstartuser begins interaction
interactionenduser ends interaction
viewchangechanged form before image shown to after image shown (and vice versa)

Released under the MIT License.