forked from 0x2620/oxjs
fix a bug where in empty icon lists, an icon grid would appear for a split-second
This commit is contained in:
parent
3a87e8eb5f
commit
90e795d194
4 changed files with 19 additions and 16 deletions
|
|
@ -8,7 +8,7 @@ Ox.IconList <f:Ox.Element> IconList Object
|
|||
borderRadius <n|0> border radius for icon images
|
||||
centerSelection <b|false> scroll list so selection is always centered
|
||||
defaultRatio <n|1> aspect ratio of icon placeholders
|
||||
draggable <b|true> can be dragged
|
||||
draggable <b|false> If true, items can be dragged
|
||||
fixedRatio <b|n|false> if set to a number, icons have a fixed ratio
|
||||
id <s|''> element id
|
||||
item <f|null> called with data, sort, size,
|
||||
|
|
@ -33,7 +33,7 @@ Ox.IconList = function(options, self) {
|
|||
borderRadius: 0,
|
||||
centerSelection: false,
|
||||
defaultRatio: 1,
|
||||
draggable: true,
|
||||
draggable: false,
|
||||
fixedRatio: false,
|
||||
id: '',
|
||||
item: null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue