Ox.Input: add 'clearTooltip' option
This commit is contained in:
parent
0a5ae83f35
commit
2fb2876fd2
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,7 @@ Ox.Input <f> Input Element
|
|||
<f> function(key, value, blur, callback), returns value
|
||||
autovalidate <f> --remote validation--
|
||||
clear <b> if true, has clear button
|
||||
clearTooltip <s|f|''> clear button tooltip
|
||||
changeOnKeypress <b> if true, fire change event while typing
|
||||
disabled <b> if true, is disabled
|
||||
height <n> px (for type='textarea' and type='range' with orientation='horizontal')
|
||||
|
@ -87,6 +88,7 @@ Ox.Input = function(options, self) {
|
|||
autovalidate: null,
|
||||
changeOnKeypress: false,
|
||||
clear: false,
|
||||
clearTooltip: '',
|
||||
decimals: 0,
|
||||
disabled: false,
|
||||
height: 16,
|
||||
|
@ -255,6 +257,7 @@ Ox.Input = function(options, self) {
|
|||
self.$button = Ox.Button({
|
||||
overlap: 'left',
|
||||
title: 'close',
|
||||
tooltip: self.options.clearTooltip,
|
||||
type: 'image'
|
||||
})
|
||||
.css({
|
||||
|
|
Loading…
Reference in a new issue