forked from 0x2620/oxjs
in derivatives of Ox.List, make sure gainFocus, hasFocus and loseFocus work correctly
This commit is contained in:
parent
07b44e20c8
commit
9790e7d6c6
4 changed files with 45 additions and 4 deletions
|
|
@ -259,6 +259,20 @@ Ox.TreeList = function(options, self) {
|
|||
}
|
||||
};
|
||||
|
||||
that.gainFocus = function() {
|
||||
self.$list.gainFocus();
|
||||
return that;
|
||||
};
|
||||
|
||||
that.hasFocus = function() {
|
||||
return self.$list.hasFocus();
|
||||
};
|
||||
|
||||
that.loseFocus = function() {
|
||||
self.$list.loseFocus();
|
||||
return that;
|
||||
};
|
||||
|
||||
return that;
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue