oxjs/source/Ox.UI/js/Panel/Ox.Panel.js

17 lines
421 B
JavaScript

// vim: et:ts=4:sw=4:sts=4:ft=js
/*@
Ox.Panel <f:Ox.Element> Panel Object
() -> <f> Panel Object
(options) -> <f> Panel Object
(options, self) -> <f> Panel Object
options <o> Options object
self <o> shared private variable
@*/
Ox.Panel = function(options, self) {
self = self || {};
var that = Ox.Element({}, self)
.addClass('OxPanel');
return that;
};