[branding] Be more chatty in example slideshow
- Log when the timer fires and the slide advances - Add a start() function (unused at this moment, will be called from C++ at the right time)
This commit is contained in:
parent
ff03235e33
commit
daf2e55246
@ -24,12 +24,17 @@ Presentation
|
||||
{
|
||||
id: presentation
|
||||
|
||||
function nextSlide() {
|
||||
console.log("Next slide");
|
||||
presentation.goToNextSlide();
|
||||
}
|
||||
|
||||
Timer {
|
||||
id: advanceTimer
|
||||
interval: 5000
|
||||
running: false
|
||||
repeat: true
|
||||
onTriggered: presentation.goToNextSlide()
|
||||
onTriggered: nextSlide()
|
||||
}
|
||||
|
||||
Slide {
|
||||
|
Loading…
Reference in New Issue
Block a user