@f/remove-element

Remove a DOM element

Stats

StarsIssuesVersionUpdatedCreatedSize
@f/remove-element
001.0.06 years ago6 years agoMinified + gzip package size for @f/remove-element in KB

Readme

remove-element

Build status Git tag NPM version Code style

Remove a DOM element

Installation

$ npm install @f/remove-element

Usage

var removeElement = require('@f/remove-element')

function removeVnode (vnode) {
  return removeElement(vnode.element)
}

API

removeElement(node)

  • node - The DOM node you want to remove

Returns: The removed node

License

MIT

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.