@f/remove-element

    1.0.0 • Public • Published

    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

    Keywords

    none

    Install

    npm i @f/remove-element

    DownloadsWeekly Downloads

    4

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • f