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

Delay between strings is inconsistent/gets longer #347

Open
sreuter opened this issue Apr 3, 2023 · 0 comments
Open

Delay between strings is inconsistent/gets longer #347

sreuter opened this issue Apr 3, 2023 · 0 comments

Comments

@sreuter
Copy link

sreuter commented Apr 3, 2023

const strings = ["employee onboardings.", "visitor sign-ins.", "standups.", "meetings.", "compliance checklists.", "deployment checklists.", "airbnb cleanings.", "purchase orders.", "customer onboardings.", "incident reports.", "surveys.", "pick lists.", "daily routines.", "repetitive tasks."];

new TypeIt(`[data-text-attribute-id="a9265c50-98a3-438c-ab32-ce8cd56ed779"]`, {
  startDelete: true,
  loop: true,
  strings: strings,
  breakLines: false,
  speed: 65,
  deleteSpeed: 35,
  nextStringDelay: [3000, 100],
  lifeLike: false,
}).go();

This is what we have live on https://www.questmate.com/, if you want to look at how it behaves. While there's a minimal delay at the beginning, after visitor sign-ins. things seem to slow down significantly.

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

1 participant