onChange( )


Adds an event handler that runs when the slideshow moves to a new slide.

A slideshow moves to a new slide through user actions, such as clicking on navigation or slide buttons, or programmatically, using functions such as changeSlide(), play(), previous( ), and next( ).

Note: You can see the Slideshow element in the Velo Properties & Events panel, but its Slide elements are not visible there.

Method Declaration
Copy
Method Parameters
eventHandlerfunctionRequired

eventHandler(event: Event): void The name of the function or the function expression to run when the slideshow moves to a new slide.

Returns
Return Type:Slideshow
Was this helpful?
Yes
No