forked from 0x2620/oxjs
misc. minor changes and documentation updates
This commit is contained in:
parent
92d4b032da
commit
abfea74565
8 changed files with 102 additions and 30 deletions
|
|
@ -103,11 +103,6 @@ Ox.TreeList = function(options, self) {
|
|||
'symbol' + (data.expanded ? 'Down' : 'Right')
|
||||
)
|
||||
})
|
||||
.css({
|
||||
width: '10px',
|
||||
height: '10px',
|
||||
padding: '3px'
|
||||
})
|
||||
)
|
||||
.appendTo($item);
|
||||
}
|
||||
|
|
@ -251,9 +246,11 @@ Ox.TreeList = function(options, self) {
|
|||
|
||||
self.setOption = function(key, value) {
|
||||
if (key == 'data') {
|
||||
|
||||
// ...
|
||||
} else if (key == 'selected') {
|
||||
self.$list.options({selected: value});
|
||||
} else if (key == 'width') {
|
||||
|
||||
// ...
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue