forked from 0x2620/oxjs
Lists: make most recently selected item selected[0]; add selectSelected method to change this item from outside
This commit is contained in:
parent
120a9eda41
commit
e069f11c9a
5 changed files with 66 additions and 16 deletions
|
|
@ -134,6 +134,11 @@ Ox.CustomList = function(options, self) {
|
|||
return that;
|
||||
};
|
||||
|
||||
that.selectSelected = function(offset) {
|
||||
that.$list.selectSelected(offset);
|
||||
return that;
|
||||
};
|
||||
|
||||
/*@
|
||||
size <f> size
|
||||
@*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue