Skip to content
/ wux Public

Wrapped User Experience - A Javascript library to build component based user interface.

Notifications You must be signed in to change notification settings

giosil/wux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WUX - Wrapped User Experience ver. 2.0.0

A Javascript library to build component based user interface.

Build

  • git clone https://github.com/giosil/wux.git
  • npm install typescript -g
  • npm install uglify-js -g
  • npm run build

Example

namespace APP {

    export class Main extends WUX.WComponent {
        protected render() {
            return '<div>Hello World!</div>';
        }
    }

}
<!DOCTYPE html>
<html>
  <head>
    <title>WUX ver. 2.0.0</title>
  </head>
  <body>
    <div id="view-root"></div>

    <script src="dist/wux.min.js"></script>
    <script src="dist/app.min.js"></script>
    <script type="text/javascript">
        WuxDOM.render(new APP.Main(), 'view-root');
    </script>
  </body>
</html>

SVG Logo

<?xml version="1.0" encoding="utf-8"?>
<svg viewBox="0 0 82 72" xmlns="http://www.w3.org/2000/svg">
  <text style="fill: rgb(0, 0, 0); font-family: Consolas; font-size: 50px;" x="0" y="40">{&#x00B5;}</text>
  <text style="fill: rgb(0, 0, 0); font-family: Consolas; font-size: 14px;" x="7" y="65">micro-wux</text>
</svg>

License

License

Contributors