allow for non-default page length of non-orientation-both icon lists
This commit is contained in:
parent
3605c0d2ac
commit
f47547e728
1 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,7 @@ Ox.IconList <f:Ox.Element> IconList Object
|
||||||
max <n|-1> maximum selected selected items
|
max <n|-1> maximum selected selected items
|
||||||
min <n|0> minimum of selcted items
|
min <n|0> minimum of selcted items
|
||||||
orientation <s|both> orientation ("horizontal", "vertical" or "both")
|
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
|
selected <a|[]> array of selected items
|
||||||
size <n|128> list size
|
size <n|128> list size
|
||||||
sort <a|[]> sort keys
|
sort <a|[]> sort keys
|
||||||
|
@ -43,6 +44,7 @@ Ox.IconList = function(options, self) {
|
||||||
max: -1,
|
max: -1,
|
||||||
min: 0,
|
min: 0,
|
||||||
orientation: 'both',
|
orientation: 'both',
|
||||||
|
pageLength: 100,
|
||||||
selected: [],
|
selected: [],
|
||||||
size: 128,
|
size: 128,
|
||||||
sort: [],
|
sort: [],
|
||||||
|
@ -72,6 +74,7 @@ Ox.IconList = function(options, self) {
|
||||||
max: self.options.max,
|
max: self.options.max,
|
||||||
min: self.options.min,
|
min: self.options.min,
|
||||||
orientation: self.options.orientation,
|
orientation: self.options.orientation,
|
||||||
|
pageLength: self.options.pageLength,
|
||||||
selected: self.options.selected,
|
selected: self.options.selected,
|
||||||
sort: self.options.sort,
|
sort: self.options.sort,
|
||||||
type: 'icon',
|
type: 'icon',
|
||||||
|
|
Loading…
Reference in a new issue