forked from 0x2620/oxjs
Ox.Range: add 'disabled' option; Ox.Label: support changing 'disabled' option
This commit is contained in:
parent
c4a91f46ed
commit
b158450d17
2 changed files with 17 additions and 0 deletions
|
|
@ -21,6 +21,11 @@ Ox.Label = function(options, self) {
|
|||
})
|
||||
.options(options || {})
|
||||
.update({
|
||||
disabled: function() {
|
||||
that[
|
||||
self.options.disabled ? 'addClass' : 'removeClass'
|
||||
]('OxDisabled');
|
||||
},
|
||||
title: function() {
|
||||
that.html(self.options.title);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue