title: How can I target $(this) in anime.js
body: <p>I am trying to achieve a click animation on a <code>&lt;a&gt;</code> tag. There are multiple <code>&lt;a&gt;</code> tags and all of them have the same class.</p>
  <p>How do I achieve this?</p>
  <p>As an alternative, I had tried adding a class as temporary to the targeted element using <code>$(this).addClass('temp')</code></p>
  <p>I need to know if there is a better way to actually do it.</p>
  <p>If I go with the above method, I won't be able to bring animations with delays.</p>
  <p>Sample</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-html lang-html prettyprint-override"><code>&lt;script&gt;
    $("a").click(function(){
      anime({
      targets:'a',
      opacity:[0,1],
      })
    });
  &lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>