JavaScript API
Controlling a project from your own script, events and callbacks, and the markup and CSS you can rely on.
- The JavaScript APIYour own buttons and scripts can change a project’s slides, start and stop its slideshow, replay its layer transitions, play its videos, open popups, and read which slide is showing.
- Events and Event CallbacksCode in the Project Editor or your own script can run when a project loads, changes slides, plays a video, or opens as a popup. It receives the project’s state and can stop or redirect a slide change.