Slideshow with animated transitions.
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 ⇐
AnimationStage- .pause()
- .play()
- .playing :
boolean - .selectionTimerDuration :
number
Pause automatic progression of the selection.
Kind: instance method of Slideshow. Defined by TimerSelection mixin.
Begin automatic progression of the selection.
Kind: instance method of Slideshow. Defined by TimerSelection mixin.
True if the selection is being automatically advanced.
Kind: instance property of Slideshow. Defined by TimerSelection mixin.
Default: false
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)