createTypewriterStore<T>

STORE CREATOR

Creates a store 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

createTypewriterStore( ): Readable<Typewriter>

Parameters

config: TypewriterConfig<T>

The initial configuration of the Typewriter.

Returns

A Readable<Typewriter<T>>