1
0
Fork 0
forked from 0x2620/oxjs

Lists: add public 'selectAll' and 'invertSelection' methods

This commit is contained in:
rlx 2013-08-02 12:23:43 +00:00
commit 1fc0a0191b
5 changed files with 73 additions and 18 deletions

View file

@ -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
@*/