You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Would be great to be able to call a custom function when a slide starts & when a slide ends. For instance once a video is finished it can trigger an onSlideEnd / videoViewed function to add a view count to the database. Also, would be useful to have a function fire onSlideStart
Describe the solution you'd like
Ability to define a custom function once a slide begins and ends.
Describe alternatives you've considered
Hack the code or use a pageview base approach which has onPageChanged
Additional context
Also makes sense to have onStoryChanged so that when a new story starts you can run a different function.
The text was updated successfully, but these errors were encountered:
jtkeyva
changed the title
onSlideChanged Functions
onSlideChanged & onStoryChanged Functions
Aug 14, 2022
Hi JT, you can add event listener using controller to achieve desired behaviour. Also you can manipulate flow by setting interceptor. Please take a look at example project.
Is your feature request related to a problem? Please describe.
Would be great to be able to call a custom function when a slide starts & when a slide ends. For instance once a video is finished it can trigger an onSlideEnd / videoViewed function to add a view count to the database. Also, would be useful to have a function fire onSlideStart
Describe the solution you'd like
Ability to define a custom function once a slide begins and ends.
Describe alternatives you've considered
Hack the code or use a pageview base approach which has onPageChanged
Additional context
Also makes sense to have onStoryChanged so that when a new story starts you can run a different function.
The text was updated successfully, but these errors were encountered: