forked from 0x2620/oxjs
Ox -> Ox.UI
This commit is contained in:
parent
177693b3ce
commit
e2a42ab04e
12 changed files with 47 additions and 47 deletions
|
|
@ -34,7 +34,7 @@ Ox.CustomList = function(options, self) {
|
|||
self.$list.options({items: self.options.items});
|
||||
},
|
||||
itemWidth: function() {
|
||||
var width = self.options.itemWidth - Ox.SCROLLBAR_SIZE;
|
||||
var width = self.options.itemWidth - Ox.UI.SCROLLBAR_SIZE;
|
||||
if (self.options.resize) {
|
||||
that.find('.OxItem').each(function(element) {
|
||||
self.options.resize($(this), width);
|
||||
|
|
@ -58,13 +58,13 @@ Ox.CustomList = function(options, self) {
|
|||
self.$list = Ox.List({
|
||||
construct: function(data) {
|
||||
return self.options.item(
|
||||
data, self.options.itemWidth - Ox.SCROLLBAR_SIZE
|
||||
data, self.options.itemWidth - Ox.UI.SCROLLBAR_SIZE
|
||||
).addClass('OxTarget');
|
||||
},
|
||||
draggable: self.options.draggable,
|
||||
itemHeight: self.options.itemHeight,
|
||||
itemWidth: self.options.itemWidth
|
||||
- self.options.scrollbarVisible * Ox.SCROLLBAR_SIZE,
|
||||
- self.options.scrollbarVisible * Ox.UI.SCROLLBAR_SIZE,
|
||||
items: self.options.items,
|
||||
keys: self.options.keys.concat(self.options.unique),
|
||||
max: self.options.max,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue