allow for non-default page length of non-orientation-both icon lists

This commit is contained in:
rlx 2011-10-28 17:45:51 +00:00
parent 3605c0d2ac
commit f47547e728

View file

@ -19,6 +19,7 @@ Ox.IconList <f:Ox.Element> IconList Object
max <n|-1> maximum selected selected items
min <n|0> minimum of selcted items
orientation <s|both> orientation ("horizontal", "vertical" or "both")
pageLength <n|100> Number of items per page (if orientation != "both")
selected <a|[]> array of selected items
size <n|128> list size
sort <a|[]> sort keys
@ -43,6 +44,7 @@ Ox.IconList = function(options, self) {
max: -1,
min: 0,
orientation: 'both',
pageLength: 100,
selected: [],
size: 128,
sort: [],
@ -72,6 +74,7 @@ Ox.IconList = function(options, self) {
max: self.options.max,
min: self.options.min,
orientation: self.options.orientation,
pageLength: self.options.pageLength,
selected: self.options.selected,
sort: self.options.sort,
type: 'icon',