Has your Web applications, more beautiful with this library!
I think with gumok the world and you can make very nice web app.
Simple and stunning tempting system.
The implementation is very simple, and the display is nice.
// Example > With included views
var data = {
firstName: "John",
lastName: "Doe"
};
// declare views
var demo = new Gumok.view("#example", data, {
index: function() {
document.write("<h2>Executing the view</h2>");
},
other: function(data) {
document.write(data);
}
});
// or use so, the variables included within the stack, as normal use
/* var demo = new Gumok.view("#example", {
firstName: "John",
lastName: "Doe",
index: function(data) {
document.write("<h2>Executing the view</h2>");
},
other: function(data) {
document.write("<h2>Other</h2>");
}
}); */
// Running view
demo.index();
// demo.other("<h2>Other</h2>");
See the Pen gumok implementation (template) by Jose Pino (@jofpin) on CodePen.