0.2.0 • Published 7 years ago

libui-node-dom v0.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

libui-node-dom

DOM emulation layer for libui-node.

This library wraps libui-node widgets into classes which emulate the DOM API. It is based on Vuido and can be used by other JavaScript frameworks which manipulate the DOM.

import { TextNode, Comment, elements } from 'libui-node-dom'

function createElement( tagName ) {
  const element = elements[ tagName ];
  return new element( tagName );
}

function createTextNode( text ) {
  return new TextNode( text );
}

function createComment( text ) {
  return new Comment( text );
}

This package is auto-generated. Refer to the Vuido documentation for more information.

0.2.0

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago