dom-remove

1.1.0 • Public • Published

dom-remove Build Status

Remove an Element from the DOM

Installation

With npm do:

$ npm install dom-remove --save

Install with component(1):

$ component install nk-components/dom-remove

Usage

var remove = require('dom-remove');
 
var el = document.querySelector('#elmt')
remove(el);
 
var els = Array.prototype.slice.call(document.querySelectorAll('div'));
remove(els);

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i dom-remove

Weekly Downloads

22

Version

1.1.0

License

MIT

Last publish

Collaborators

  • kewah