jlmakes / jlmakes/scrollreveal

Different Options on Subsequent Reveals?

Open
#555 0 comments 0 reactions 0 assignees View on GitHub
Question
Dominant language
JavaScript
Stars
22.5k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

Is there a way to change `options` after x amount of reveals for elements that have `reset: true` enabled?

For instance, I want the first time an element is revealed to have 500ms of delay, and all subsequent reveals of the same element to have 100ms of delay (`reset` is set to `true` of course). How might I achieve this?

Quite new to JS so apologies if the answer is fairly obvious.

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file, test, or entry point is identified. First inspect the reset and options behavior in the project and clarify whether per-reveal delays are supported; done should be a documented or tested way to use a 500ms delay on the first reveal and 100ms on later reveals.

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
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.