Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Start with first text string actually showing / in place (not empty space) #616

Open
drewclifton opened this issue Feb 12, 2025 · 1 comment

Comments

@drewclifton
Copy link

Hi!

When communicating with people, one would often logically want to start with something present (not nothing), and then reveal to the user (surprise them!) to find out that there is more to be said (and that we have animation! Woohoo).

Typed.js seems to always start with nothing, and reveal text, e.g.:

You are . (then add amazing, stupendous, engaging, etc.

Could we have an option to start with the first item in place at start, and then cycle, e.g.:

You are amazing. (then change to stupendous, engaging, etc.)

If I am wrong about this, and there is already a way to do this, please let me know, thanks!

@WesleyKapow
Copy link

Would also love this! As it is now, my best work around is to independently render the first string and hide typed until it has written out the first string and then I swap what is hidden & shown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants