libui-node-dom

0.2.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i libui-node-dom

Weekly Downloads

2

Version

0.2.0

License

MIT

Unpacked Size

74.2 kB

Total Files

3

Last publish

Collaborators

  • mimecorg