mattboldt / typed.js

A JavaScript Typing Animation Library

Home Page:http://www.mattboldt.com/demos/typed-js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

first string typed

byteDrifter opened this issue · comments

commented

In order for me to get my first string to display, I need to add an empty string before.

Same issue for me as well. I did something like this:

            jQuery(() => {
                new Typed('.something', {
                    strings: [
                        '', // Empty because of a bug.
                        'a',
                        'b',
                        'c',
                        'd',
                    ],
                    typeSpeed: 45,
                    backSpeed: 45,
                    loop: true,
                });
            });

I can't reproduce this issue -- could you include a demo?