Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
__tests
lib
public
spec/support
.gitignore
package.json
readme.md
webpack.config.js

readme.md

← back

Dom2vqua

Transfrom dom nodes to vqua nodes

Example

  const dom2vqua = require('dom2vqua')

  const div = document.createElement('div')

  const node = dom2vqua(div)

  // node =>
  //
  // {
  //   dom: div,
  //   type: TAG_TYPE,
  //   tag: 'div',
  //   props: {},
  //   childs: []
  // },
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.