title: Typed.js initialize with existing text and then loop it
body: <p>I'm working with typed.js to get some words typed. I would like the first word to be showing when the page loads and start the loop from there. In order to get this result I've just placed "nice" in between the span tags, did this the trick.</p>
  
  <p>But... When looking to the following codepen, you can see that the first loop is correct. When the second loop starts, the first word (nice) is not being typed but just appears and disappears quickly. I could really use some help to fix this. Any thoughts?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var typewriter = $('.typewriter');
  
    if(typewriter.length) {
  
      function initTypewriter() {
  
       var typed = new Typed(".typewriter", {
          strings: $(".typewriter").attr("data-typewriter").split("|").map(function(e) {
            return e
          }),
          typeSpeed: 80,
          backSpeed: 75,
          startDelay: 1000,
          backDelay: 2000,
          loop: !0,
          loopcount: false,
          showCursor: false,
          callback: function(e){ } // call function after typing is done
          });
      };
  
      initTypewriter();
  
    };</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;h2&gt;A &lt;span title="nice, clean, good" class="typewriter" data-typewriter="nice|clean|good"&gt;nice&lt;/span&gt; example&lt;/h2&gt;
  
  &lt;script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/typed.js/2.0.6/typed.min.js"&gt;&lt;/script&gt;
  &lt;script
    src="https://code.jquery.com/jquery-3.3.1.min.js"
    integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
    crossorigin="anonymous"&gt;&lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="https://codepen.io/Dansbeer/pen/geGbgB?editors=1111" rel="nofollow noreferrer">CodePen Link</a></p>
  
  <p>Kind regards</p>