createTypewriterFromSentencesStore

STORE CREATOR

Creates a stores containing a Typewriter from @uiloos/core which is configured by the config parameter.

What the function does is create the Typewriter and register itself to the ActiveList for changes, when a change is detected it makes sure that the component using the store is re-rendered.

Since 1.3.0

Signature

createTypewriterFromSentencesStore( ): Readable<Typewriter>

Parameters

config: TypewriterFromSentencesConfig

The initial configuration of the Typewriter.

Returns

A Readable<Typewriter>