Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

API Documentation

Slideshow ⇐ AnimationStage

Slideshow with animated transitions.

Live demo

By default the slideshow will immediately begin playing when it is connected to the document, advance every 3000 ms (3 seconds), and use a simple crossfade effect. For a variation with play controls, see basic-slideshow-with-controls.

This component can be used on its own. To incorporate slideshow behavior into a component of your own, apply the TimerSelectionMixin.

Kind: global class Extends: AnimationStage
Mixes: TimerSelectionMixin

slideshow.pause()

Pause automatic progression of the selection.

Kind: instance method of Slideshow. Defined by TimerSelection mixin.

slideshow.play()

Begin automatic progression of the selection.

Kind: instance method of Slideshow. Defined by TimerSelection mixin.

slideshow.playing : boolean

True if the selection is being automatically advanced.

Kind: instance property of Slideshow. Defined by TimerSelection mixin. Default: false

slideshow.selectionTimerDuration : number

The time in milliseconds that will elapse after the selection changes before the selection will be advanced to the next item in the list.

Kind: instance property of Slideshow. Defined by TimerSelection mixin. Default: 1000 (1 second)