mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 00:48:22 -04:00
[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
83d296bcd0
commit
003f37ca04
1 changed files with 6 additions and 1 deletions
|
@ -24,12 +24,17 @@ Presentation
|
||||||
{
|
{
|
||||||
id: presentation
|
id: presentation
|
||||||
|
|
||||||
|
function nextSlide() {
|
||||||
|
console.log("Next slide");
|
||||||
|
presentation.goToNextSlide();
|
||||||
|
}
|
||||||
|
|
||||||
Timer {
|
Timer {
|
||||||
id: advanceTimer
|
id: advanceTimer
|
||||||
interval: 5000
|
interval: 5000
|
||||||
running: false
|
running: false
|
||||||
repeat: true
|
repeat: true
|
||||||
onTriggered: presentation.goToNextSlide()
|
onTriggered: nextSlide()
|
||||||
}
|
}
|
||||||
|
|
||||||
Slide {
|
Slide {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue