basic implementation of having reveal.js slides working
There is still a lot of work needed to be done here, but the basics are laid out.
This commit is contained in:
parent
b05af23ffa
commit
c33b5af588
8 changed files with 88 additions and 24 deletions
|
@ -140,7 +140,7 @@ Item {
|
|||
icon.name: "back"
|
||||
onClicked: {
|
||||
if (isHtml) {
|
||||
webPresentationPreview.runJavaScript("Reveal.navigatePrev()");
|
||||
webPresentationPreview.runJavaScript("Reveal.prev()");
|
||||
} else
|
||||
presentationPreview.currentFrame = presentationPreview.currentFrame - 1
|
||||
}
|
||||
|
@ -154,9 +154,9 @@ Item {
|
|||
icon.name: "next"
|
||||
onClicked: {
|
||||
if (isHtml) {
|
||||
webPresentationPreview.runJavaScript("Reveal.navigateNext()");
|
||||
webPresentationPreview.runJavaScript("Reveal.next()");
|
||||
} else
|
||||
presentationPreview.currentFrame = presentationPreview.currentFrame + 1
|
||||
presentationPreview.currentFrame = presentationPreview.currentFrame + 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue