forked from 0x2620/oxjs
in button, react to change of tooltip option
This commit is contained in:
parent
da7e0b73e0
commit
e6b634ddef
2 changed files with 4 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ Ox.Button = function(options, self) {
|
|||
}
|
||||
that.triggerEvent('change');
|
||||
} else if (key == 'tooltip') {
|
||||
|
||||
that.$tooltip.options({title: value});
|
||||
} else if (key == 'title') {
|
||||
setTitle(value);
|
||||
} else if (key == 'width') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue