Ability to listen to event when a particular frame is displayed #714
Replies: 1 comment
-
|
Looking a little harder to the code, I managed to find the answer to my own question, so let's share it here for the community! 😉 It's as simple as: sozi.playerController.addListener("moveToFrame", (f) => {
// do whatever I need with the frame object f, with properties such as frameId or title
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi and congratulations for this amazing tool I just discovered.
My end goal is to have a sozi presentation, along with a reveal.js one, probably in another frame. I want to sync both, or at least sync from sozi to reveal.js.
For that I want to listen to when a sozi frame is displayed and trigger some js call.
So my question is: is there a JS event "slide with id xxx entered"? I looked around in the source code but didn't find anything obvious.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions