title: How to do jQuery's .trigger() in Vue
body: <p>What is the the best way in <code>Vue</code> to replace <code>jQuery's</code> short and sweet <code>.trigger()</code> for an external element outside of the Vue app.</p>
  
  <p>Example:</p>
  
  <pre class="lang-js prettyprint-override"><code>$('body').trigger('to-trigger');
  </code></pre>
  
  <p>I was able to put <code>$('body').trigger('to-trigger');</code> inside my Vue app and it works :/ Just not sure this is the correct thing to do.</p>