controljs

0.0.1 • Public • Published

JavaScript control base class for both server and client side GUI development. Control is the opposite of templating. Currently the API is not stable.

Control.js is for people who prefer their HTML / DOM generating user interface code (server and client) completely written in JavaScript. Control.js aims to be small. Control.js is used extensively by Framework.js that aims to be large.

Example:

new control({
	  tag: 'html',
	  isRootControl: true,
	  items : [
	      {tag: 'head', items: [{tag: 'title', controlValue: 'Hello world app.'}]},
	      {tag: 'body', items: [{tag: 'h1', controlValue: 'Hello world!'}]}
	  ]
}).render()

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    2

Package Sidebar

Install

npm i controljs

Weekly Downloads

2

Version

0.0.1

License

none

Last publish

Collaborators

  • ewoudj