EXAMPLE: Image Cycle VIEW SOURCE

In this example, an instance of Uize.Widget.Swap.Image.Cycle is wired up to provide a simple cycling slideshow of images. The user has no control over the navigation. The cycle can be started and stopped using the start and stop instance methods, respectively. The buttons below are wired up to call these two methods. The cycleSettings set-get property of the widget is set to an array of different transition settings, so that each new image shows with a different transition effect. Click the "Start" button and try it out.

Start Stop