add missing 'sums' option to IconList and InfoList
This commit is contained in:
parent
619f498dae
commit
909184fbba
2 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,7 @@ Ox.IconList <f> IconList Object
|
||||||
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
|
||||||
|
sums <[s]|[]> Sums to be included in totals
|
||||||
self <o> Shared private variable
|
self <o> Shared private variable
|
||||||
([options[, self]]) -> <o:Ox.List> IconList Object
|
([options[, self]]) -> <o:Ox.List> IconList Object
|
||||||
@*/
|
@*/
|
||||||
|
@ -51,6 +52,7 @@ Ox.IconList = function(options, self) {
|
||||||
selected: [],
|
selected: [],
|
||||||
size: 128,
|
size: 128,
|
||||||
sort: [],
|
sort: [],
|
||||||
|
sums: [],
|
||||||
unique: ''
|
unique: ''
|
||||||
})
|
})
|
||||||
.options(options || {})
|
.options(options || {})
|
||||||
|
@ -108,6 +110,7 @@ Ox.IconList = function(options, self) {
|
||||||
selectAsYouType: self.options.selectAsYouType,
|
selectAsYouType: self.options.selectAsYouType,
|
||||||
selected: self.options.selected,
|
selected: self.options.selected,
|
||||||
sort: self.options.sort,
|
sort: self.options.sort,
|
||||||
|
sums: self.options.sums,
|
||||||
type: 'icon',
|
type: 'icon',
|
||||||
unique: self.options.unique
|
unique: self.options.unique
|
||||||
})
|
})
|
||||||
|
|
|
@ -25,6 +25,7 @@ Ox.InfoList = function(options, self) {
|
||||||
selected: [],
|
selected: [],
|
||||||
size: 192,
|
size: 192,
|
||||||
sort: [],
|
sort: [],
|
||||||
|
sums: [],
|
||||||
unique: ''
|
unique: ''
|
||||||
})
|
})
|
||||||
.options(options || {})
|
.options(options || {})
|
||||||
|
@ -75,6 +76,7 @@ Ox.InfoList = function(options, self) {
|
||||||
selectAsYouType: self.options.selectAsYouType,
|
selectAsYouType: self.options.selectAsYouType,
|
||||||
selected: self.options.selected,
|
selected: self.options.selected,
|
||||||
sort: self.options.sort,
|
sort: self.options.sort,
|
||||||
|
sums: self.options.sums,
|
||||||
type: 'info',
|
type: 'info',
|
||||||
unique: self.options.unique
|
unique: self.options.unique
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue