forked from 0x2620/oxjs
various improvements in OxJS and OxUI
This commit is contained in:
parent
74b9a25387
commit
7380595c7e
48 changed files with 184 additions and 161 deletions
|
|
@ -68,7 +68,7 @@ Ox.CollapsePanel = function(options, self) {
|
|||
collapsed: self.options.collapsed
|
||||
});
|
||||
}
|
||||
self.onChange = function(key, value) {
|
||||
self.setOption = function(key, value) {
|
||||
if (key == 'collapsed') {
|
||||
|
||||
} else if (key == 'title') {
|
||||
|
|
|
|||
|
|
@ -250,7 +250,7 @@ Ox.SplitPanel = function(options, self) {
|
|||
Ox.SplitPanel_ = function(options, self) {
|
||||
|
||||
var self = self || {},
|
||||
that = new Ox.Element('div', self)
|
||||
that = new Ox.Element({}, self)
|
||||
.defaults({
|
||||
elements: [],
|
||||
orientation: 'horizontal'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue