Apply css animations to an element, with a callback for when that animation finishes. If the browser doesn't support transitions, the callback is invoked immediately.
$ component install bmcmahen/animate-css
var animate = require('bmcmahen-animate'); animate(el, 'fadeOutRight', function(element){ $(element).remove(); });
MIT