0.8.7 • Published 3 years ago

jwl v0.8.7

Weekly downloads
2
License
LGPL-3.0
Repository
github
Last release
3 years ago

JWL - The JavaScript Widget Library

About

The JavaScript Widget Library (JWL) is a tool that allows you to build modern web applications by providing a simple way to create HTML components. JWL is based on JUL - The JavaScript UI Language module and it easily integrates with JUL Designer.

License

Licensed under GNU GPLv2 or later and under GNU LGPLv3 or later. See enclosed 'licenses' folder.

Browser support

Compatible with all major browsers including: FF4+, Chrome 5+, IE9+, Edge, Opera 11+, Safari 5+

Features

  • creating HTML components from configuration objects
  • structural composition of the layout and the interface behavior with cascading element listeners
  • configuration and component inheritance
  • registering the components as HTML5 custom elements in supported browsers
  • two-way, fully recursive element wrappers for all browsers

Install & usage in Node

Install JWL locally:

npm install jwl

Globally:

npm install -g jwl

Sample usage:

var jwl = require('jwl');
console.log(jwl.components);
// create a JWL component - JWL.makeClass() wrapper test
var wnd = require('window');
global.window = global.window || new wnd();
var jwlParser = new jwl.Parser({
	customFactory: 'JWL.factory'
});
var player = jwlParser.create({tag: 'frameplayer'});
console.log(player.el());

You cab use webpack or browserify to bundle the components for the browser.

Build & install from source

Install Node.js in your system. Run the following shell commands in order:

	npm install
	npm run make

The release will be in the 'build' folder. The Node module will be in the 'build_node' folder.

Downloads & user support

jwl-library project on SourceForge

0.8.7

3 years ago

0.8.5

5 years ago

0.8.4

7 years ago

0.8.3

7 years ago