In this example, an instance of the
Uize.Widget.SlideShow widget class is wired up, initialized with an array of photos by setting its
slides state property. Each record in the slides array contains
image properties. The slideshow widget wires up buttons for navigating the slides. When a slide is selected, the value of the slide's record's
image properties are displayed in the widget's
slide_image DOM nodes, and the current slide number and total number of slides are reflected in the widget's
totalSlides DOM nodes.