1
0
Fork 0
forked from 0x2620/oxjs

in derivatives of Ox.List, make sure gainFocus, hasFocus and loseFocus work correctly

This commit is contained in:
rlx 2012-04-24 08:21:00 +00:00
commit 9790e7d6c6
4 changed files with 45 additions and 4 deletions

View file

@ -155,6 +155,20 @@ Ox.IconList = function(options, self) {
return that;
};
that.gainFocus = function() {
that.$element.gainFocus();
return that;
};
that.hasFocus = function() {
return that.$element.hasFocus();
};
that.loseFocus = function() {
that.$element.loseFocus();
return that;
};
/*@
paste <f> paste into list
() -> <o> the list