image-panel live demos
Custom HTML element to display slideshows. Currently powering the slideshow on the home page. Better test suite will also be here eventually.
The panel has no controls of its own: the buttons above use its prev(), next(), play() and pause() methods, and the caption comes from its slidechange event. Click the photo and use the arrow keys, or swipe it. It holds while it has focus, and in a hidden tab.
<image-panel src="samples/slideshow-example.json"
keyboard swipe aria-label="Sample photos"></image-panel>
The photos and their settings (shuffle, a 6 second interval, a 1 second fade) are in slideshow-example.json.