coffeescript-ui
Version:
Coffeescript User Interface System
42 lines (36 loc) • 772 B
JavaScript
// Generated by CoffeeScript 1.10.0
(function() {
var App;
App = (function() {
function App() {
var body;
body = new CUI.HorizontalLayout({
left: {
content: new CUI.Label({
centered: true,
text: "Left !!"
})
},
center: {
content: new CUI.Label({
centered: true,
size: "big",
text: "Hello world!",
icon: "fa-building"
})
},
right: {
content: new CUI.Label({
centered: true,
text: "Right"
})
}
});
CUI.dom.append(document.body, body);
}
return App;
})();
CUI.ready(function() {
return new App();
});
}).call(this);