1
0
Fork 0
forked from 0x2620/oxjs

some changes towards fixed height icon lists

This commit is contained in:
rlx 2011-08-06 04:28:38 +00:00
commit b05be138cc
2 changed files with 17 additions and 6 deletions

View file

@ -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: '',