typewriterFromSentences
FUNCTION
Creates a Typewriter which will type in the provided sentences using a single cursor.
Intelligently moves from one sentence to another, only removing parts of the sentence if necessary.
For example when providing the following sentences array: ['I love dogs', 'I love cats].
The Typewriter will type the sentence "I love dogs" first. Then it will do four backspaces to end up with "I love". Finally it will type in "dogs".
Since 1.2.0
Signature
Parameters
subscriber:
TypewriterSubscriber<void>
An optional subscriber which responds to changes in the Typewriter.
Returns
subscriber:
TypewriterSubscriber<void>
An optional subscriber which responds to changes in the Typewriter.
Returns
a configured typewriter