A
A
Alexander2018-02-20 18:32:09
JavaScript
Alexander, 2018-02-20 18:32:09

How to correctly implement step-by-step script execution (function by function)?

I am implementing a screencast of working with an application in css and js on the site.
Question: How to correctly implement step-by-step script execution (function by function)?
For example, typing, then pressing a button, then the appearance of a new block with this text, etc. (under the hood it's just adding/removing classes, text or dom objects)
Perhaps there are better options besides setTimeout?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2018-02-20
@chelovekmuravei

Optional
.animate() Callback Functions
Perform the next animation after the current complete

X
xmoonlight, 2018-02-20
@xmoonlight

one . nightwatchjs.org
2. https://github.com/segmentio/nightmare

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question