If you wish to fade an element out and remove it from the DOM, you can use something like this:

<button _="on click transition opacity to 0 then remove me">
  Fade & Remove
</button>