Skip to content

Allow multi-step slides #50

@mirisuzanne

Description

@mirisuzanne

Presentation tools often allow multiple-step slides, to reveal additional content, or do some other animation. Ideally this would work with the same 'next/previous' triggers that navigate slides, so that it would work with a simple remote clicker.

I could imagine either storing this information as an attribute on the slide element:

<slide-item id="slide-3" data-internal-steps="2"></slide-item>

Or auto-generating that count based on attributes inside a slide:

<slide-item id="slide-3">
  <ul>
  <li>visible by default</li>
  <li data-step="1">revealed on first internal 'next'</li>
  <li data-step="2">revealed on second 'next'</li>
  </ul>
</slide-item>

We could keep state in the URL with a query parameter. I expect that moving forward takes you through each step of each slide, but moving backwards…

  • If there are previous steps on the current slide, reverse through those steps
  • Otherwise, go to the previous slide (initial state, not final step)

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions