forked from 0x2620/oxjs
make clear input button work
This commit is contained in:
parent
4ca5734a9d
commit
bed3e1ea70
2 changed files with 11 additions and 5 deletions
|
|
@ -738,6 +738,11 @@ Ox.Input = function(options, self) {
|
|||
return that;
|
||||
};
|
||||
|
||||
that.clearInput = function() {
|
||||
clear();
|
||||
return that;
|
||||
}
|
||||
|
||||
that.focusInput = function(select) {
|
||||
select = Ox.isUndefined(select) ? true : select;
|
||||
self.$input.focus();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue