widgets
Version:
Widgets, the Framework: a website framework based on the idea of using widgets to build pages.
13 lines (11 loc) • 312 B
JavaScript
var Log = require("./log.js");
Widget = function(widgetName, widgetId, skin, uxConfigs) {
this.id = widgetId;
this.name = "" + widgetName;
this.configs = uxConfigs || {};
this.skin = skin || 'default';
this.log = new Log();
this.noRender = false;
this.html = null;
}
module.exports = Widget;