impress / impress/impress.js

Auto active substep

Open
#814 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
38.2k
Forks
6.6k
PR merge metrics
No merged PRs in 30d

Description

I think it's useful to let use active a substep after enter the step, so the first substep (or specified substep) is active at first, then can be hidden after. e.g. we can show a slogan at first, then replacing it with actually content.

I thought of some way:
1. add attribute `data-substep-active`/`data-substep-active=` to `step` element
2. add attribute `data-substep-active` to a `substep` element
3. add class `substep-auto-active` to a `substep` element

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how impress.js currently handles steps and substeps, including any examples or tests that demonstrate substep visibility. Compare the three proposed activation mechanisms and define one precise behavior for the initial or selected substep and its later hiding. Done means the chosen behavior is documented and covered by an appropriate example or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.