Socket
Book a DemoInstallSign in
Socket

removed-component

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

removed-component

invoke a callback when a DOM element is removed

latest
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

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

Keywords

dom

FAQs

Package last updated on 12 Feb 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts