remove-hook
virtual-dom hook for element remove
Install
$ npm install --save remove-hook
Usage
var RemoveHook = var h = var vtree = { //=> div removed from the DOM}
API
RemoveHook(callback)
-> object
callback
Required
Type: function
A callback to call when the virtual node is removed from the DOM.
License
MIT © Ben Drucker