List item remove animation

If you have any interest, it’s pretty easy to “roll-your-own” simple CSS animation, if you just want something like a fadeout on delete before the item disappears completely. I’m doing that by adding a red bg (isDeleting class) before calling my API deleteItem, then switching it to fadeout on success, with a setTimeout matching the fade time before pruning the item from the list:

item.isDeleting = true;
calr.gapi.deleteItem(item).subscribe(
  (r)=> {
    if (r == "OK!") {
      item.isDeleted = true;
      setTimeout(()=> {
        calr.items.splice(calr.items.indexOf(item), 1)
      }, 300); // timeout to match fadeout animation...
    }
  }
);