Invoke a callback when a DOM element is removed.
$ component install component/removed
varremoved=require('removed');removed(el,function(){console.log('element was removed!');});Invokes fn when el is removed from the DOM.
The setInterval fallback uses removed.interval, defaulting to 200ms.
MIT