forked from 0x2620/oxjs
some changes towards fixed height icon lists
This commit is contained in:
parent
4642b56a95
commit
b05be138cc
2 changed files with 17 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
||||
// vim: et:ts=4:sw=4:sts=4:ft=js
|
||||
|
||||
/*@
|
||||
Ox.IconItem <f:Ox.Element> IconItem Object
|
||||
|
|
@ -6,6 +6,7 @@ Ox.IconItem <f:Ox.Element> IconItem Object
|
|||
(options) -> <f> IconItem Object
|
||||
(options, self) -> <f> IconItem Object
|
||||
options <o> Options object
|
||||
fixedRatio <b|n|false> if set to a number, icons have a fixed ratio
|
||||
height <n|128> icon height
|
||||
id <s> element id
|
||||
info <s> icon info
|
||||
|
|
@ -23,6 +24,7 @@ Ox.IconItem = function(options, self) {
|
|||
self = self || {};
|
||||
var that = Ox.Element({}, self)
|
||||
.defaults({
|
||||
fixedRatio: false,
|
||||
height: 128,
|
||||
id: '',
|
||||
info: '',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue