Closed kinoko87 closed 11 months ago
I'm not following, skip is an immediate action, callbacks are for asynchronous actions, this can be achieved by simply calling a function after calling skip.
For instance:
myTyper.skip(onTypeSkip);
would behave exactly the same as
myTyper.skip();
onTypeSkip();
can you show me how you're using this and why you needed it?
Makes it easier to do actions if the text is skipped. Current work arounds is to have a boolean that is set when e.g the user presses any of the skipKeys or when the text is complete.