/vdom-virtualize

Virtualize a DOM node

Primary LanguageJavaScript

vdom-virtualize

API

virtualize(node:DOMNode)

  • node {DOMNode}

  • returns {VNode}: A virtual-dom tree

virtualize.fromHTML(html:String)

  • html {String}

  • returns {VNode}: A virtual-dom tree

Turn a DOMNode into a virtual-dom node.