title: Call typed.js function inside Vue component
body: <p>I using <a href="https://github.com/mattboldt/typed.js/" rel="nofollow noreferrer">typed.js</a> library for text animation on my home component.
  I can't figure out how to call a typed function inside my home template.</p>
  
  <pre><code>export default {
   name: 'home',
   mounted: function () {
    document.addEventListener('DOMContentLoaded', function () {
    Typed.new('.element', {
        strings: ['Lorem ipsum'],
        typeSpeed: 10
       });
     });
    }
  }
  </code></pre>
  
  <p></p>
  
  <p>Thanks!</p>