forked from 0x2620/oxjs
Lists: add public 'selectAll' and 'invertSelection' methods
This commit is contained in:
parent
43502c42a1
commit
1fc0a0191b
5 changed files with 73 additions and 18 deletions
|
|
@ -205,6 +205,11 @@ Ox.InfoList = function(options, self) {
|
|||
return that.$element.hasFocus();
|
||||
};
|
||||
|
||||
that.invertSelection = function() {
|
||||
that.$element.invertSelection();
|
||||
return that;
|
||||
};
|
||||
|
||||
/*@
|
||||
loseFocus <f> loseFocus
|
||||
@*/
|
||||
|
|
@ -229,6 +234,11 @@ Ox.InfoList = function(options, self) {
|
|||
return that;
|
||||
};
|
||||
|
||||
that.selectAll = function() {
|
||||
that.$element.selectAll();
|
||||
return that;
|
||||
};
|
||||
|
||||
/*@
|
||||
size <f> size
|
||||
@*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue