JSPM

removed

0.0.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 37
  • Score
    100M100P100Q69694F
  • License MIT

invoke a callback when a DOM element is removed

Package Exports

  • removed

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (removed) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

removed

Invoke a callback when a DOM element is removed.

Installation

$ component install component/removed

Example

var removed = require('removed');
removed(el, function(){
  console.log('element was removed!');
});

API

removed(el, fn)

Invokes fn when el is removed from the DOM.

.interval

The setInterval fallback uses removed.interval, defaulting to 200ms.

License

MIT