forked from 0x2620/oxjs
handle update of label option
This commit is contained in:
parent
3232762576
commit
15444fe5a9
4 changed files with 11 additions and 0 deletions
|
|
@ -122,6 +122,8 @@ Ox.Input = function(options, self) {
|
|||
} else if (key == 'height') {
|
||||
that.css({height: value + 'px'});
|
||||
self.$input.css({height: value - 6 + 'px'});
|
||||
} else if (key == 'label') {
|
||||
self.$label.options({title: value});
|
||||
} else if (key == 'labelWidth') {
|
||||
self.$label.options({width: value});
|
||||
inputWidth = getInputWidth();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue