There are a couple of stores that you can access. These stores use the
svelte-local-storage-store
package to also write to local storage, but you can interact with them in the same way as you
would with any Svelte store.
The slides
store allows you to access the slides you define in the root layout file,
as described in the Getting Started page.
currSlide
holds the index (a number value) representing the current active slide. You
can use it in combination with slides
to get information about the current slide.
maxSteps
can be used to set the number of steps you want to have per slide in the
onMount
function.
The currStep
store can be used to check which step you are on in a slide. This store
gets reset back to 0
when entering a new slide. You can for example use the store to do
different things at different steps in your presentation.